WAI
Status Update
Comments
uc...@google.com <uc...@google.com>
sp...@google.com <sp...@google.com> #2
We use build flavours heavily with a lot of common code. The refactoring support in AS is really good but it continually catches us out when it doesn't work across all flavours in a project. It's a big gap for serious product development.
va...@gmail.com <va...@gmail.com> #3
We at my company need this same feature. We have a lot of white labels and need refactor the same class across flavours. :(
Description
AI-182.5107.16.33.5264788, JRE 1.8.0_152-release-1248-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.3 unknown, screens 1440x900; Retina
Android Gradle Plugin: 3.3.1
Gradle: 4.10.1
NDK: from local.properties: (not specified); latest from SDK: (not found);
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: (not found); from PATH: (not found);
Use Android Studio template to create a new project with an empty main activity. It creates adaptive launcher icons (ic_launcher and ic_launcher_round) in anydpi-v26.
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
ic_launcher_background is a vector asset and added to drawable folder. However, ic_launcher_foreground despite being a vector asset is added to drawable-v24. These are used only from 26+ API, please move it to drawable while setting up the project.