React Native App Icon Not Showing As Specified in Res Folder


React Native App Icon Not Showing As Specified in Res Folder



I have been working with react native for quite a while.
I am having this weird issue with the application icon. I am only targeting Android for now.



I have replaced the ic_launcher.png in all "android/app/src/main/res/mipmap-*" folders. After deploying the app on emulator or a real device the app icon is showing a black droid icon like the image link
(Black droid icon instead of app icon)
I tried this on actual devices too same issue.
Note: When i open the list of apps from phone settings the app icon is showing fine in the list of apps see image link
(Icon showing fine in app list from android settings)



Could anyone direct me what the issue might be? I tried cleaning and rebuilding. Also tried clearing all cache and reinstalling app. Also generation of signed apk has the same behavior.





Just wanted to know that, all replaced icons are of same size? If yes then please try cleaning the gradlew by firing "gradlew clean" command from your project/android directory and rerun react-native run-android. Hope it will help you.
– Sandip Lipane
Jul 2 at 11:06









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Rothschild family

Cinema of Italy