Explanation:
I have a working app in google play market. Everything works fine in android versions from 4.0-7.0.
Case:
When the client downloaded it on his Android 8.0 (Oreo) a launcher icon did not seem to show instead android's default launcher icon is showing!!
Question:
Anyone who has encountered such issue? I need any hints to solve it since it seems weird because I have all 4 typed .png icons in mipmap folder.
47
votes
7 Answers
45
votes
35
votes
23
votes
I was having the same problem make sure you have set drawable or mipmap to icon attribute as well as roundIcon attribute under application tag in your Manifest file
<application
android:icon="@drawable/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round">
</application>
This might resolve someone's issue. Thanks.
2
votes
None of the previous answers worked for me. I discovered my project had a file app/src/main/res/drawable-v24/ic_launcher_foreground.xml
while another project didn't. That was the reason the other project did have an icon in Android 8 and this project not. When I removed the drawable-v24
folder I got my icon back!
0
votes