我在构建中添加了一个新的Image Asset,在虚拟和物理设备上测试了它,然后作为Beta推送到Play商店。一切都在我的结束,但我的一个测试人员说,应用程序图标没有出现!?他正在使用运行Android 8.0的Google Pixel手机。有谁知道这可能导致什么?
答案 0 :(得分:4)
Android Oreo需要几个版本的图标,您必须创建自适应图标 https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive.html
答案 1 :(得分:0)
1. Select app folder from your project
2. Select File → New → Image Asset
3. On "Foreground Layer" choose the path of your image and resize in order to get the proper aspect for the icon
4. On “Background Layer" use the provided background color
5. Click on Finish and mipmap icons are created in different sizes
In your manifest file do the following changes
<application
...
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
...>
</application>