Launcher Icon is not Shown in Oreo 8.0/8.1

2019-02-01 17:33发布

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.

4条回答
手持菜刀,她持情操
2楼-- · 2019-02-01 17:43

Use a .png image in the Image Asset tool to generate launcher icon.

查看更多
Evening l夕情丶
3楼-- · 2019-02-01 18:02

Yes, I also faced the same issue in Android Oreo.

1) Add your images by adding in Image Vector

enter image description here

查看更多
家丑人穷心不美
4楼-- · 2019-02-01 18:03

This might not be the ideal solution. But deleting the directory named mipmap-anydpi-v26 will resolve the issue if you have correct icons in relevant folders.

查看更多
狗以群分
5楼-- · 2019-02-01 18:10

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.

查看更多
登录 后发表回答