I set my compileSDKVersion to 27, and now I get a default (b&w) icon on my Android App
What am I doing wrong?
I set my compileSDKVersion to 27, and now I get a default (b&w) icon on my Android App
What am I doing wrong?
You also need to use android:roundIcon="@mipmap/ic_launcher_round"
When a launcher requests an app icon, the framework returns either android:icon or android:roundIcon, depending on the device build configuration. Because of this, apps should make sure to define both android:icon and android:roundIcon resources when responding to launcher intents.
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"`