Reputation: 51
(I've updated the post)
Here's how I have my proyect:
Manifest:
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
Mipmap: Created by New > Image Asset I selected Launcher Icons (Adaptative and Legacy)
Also, when I open any of them I see the icon I want:
Now, the launcher icon works just fine:
The problem I'm having is that it does not want to update the icon that is displayed when I'm going to select another app.
Upvotes: 2
Views: 4232
Reputation: 3530
I think it is a common cache issue. Sometimes when you run the app from Android studio or in debug mode you will have this droid icon.
When you stop and don't reinstall the app, droid icon is still there for futures launches... You have to clear the cache to get back your icon.
I search a correct answer for days because this is very stange and still not fixed...
Hope this will help !
Upvotes: 0
Reputation: 2523
you have to update both property of application tag in manifest file.
android:icon="@mipmap/ic_launcher" <-- Change this one
android:roundIcon="@mipmap/ic_launcher_round" //<-- and this one
or you can remove
android:roundIcon="@mipmap/ic_launcher_round" //<-- and this one
ensure you have place all mipmap/drawable in correct place and for all dpi.
reach me if you have still problems.
Upvotes: 1
Reputation: 2401
Go to your app folder and go under drawable. Right Click -> New -> Image Asset.
From there you can select what kind of image you want for the different options given.
Upvotes: 0