Issue
I started an Android project using the default icon (ic_launcher
) using Android Studio. But now I want to change the icon to something else. I tried replacing all the ic_launcher.png
s in the project directory, copying the icons under a new name and change the AndroidManifest.xml
but the app still has the old ic_launcher
. I also tried restarting Android Studio, Invalidate Cache and Restart, uninstall the app from the device but the icon never changed.
PS : Removing the android:icon="@drawable/logo"
(NOTE : I changed ic_launcher.png
to logo.png
to see if it works then) changed the icon to the default android icon. But putting it back still gives me the same old one.
Is there a different procedure to change the icon of an app using Android Studio?
Solution
I don't know what is the exact problem (Android Studio even showed the correct icon in the preview despite the app having the incorrect icon) but I resolved it by copying the same icon under a different name and changing the Manifest accordingly.
Answered By - Thahzan
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.