(我已经更新了帖子)
下面是我的项目:
list :
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
贴图: 创建者:新建 > 图像资源 我选择了 Launcher Icons (Adaptative and Legacy)
此外,当我打开它们中的任何一个时,我会看到我想要的图标:
现在,启动器图标工作正常:
我遇到的问题是它不想更新在我要选择另一个应用程序时显示的图标。
最佳答案
您必须更新 list 文件中应用程序标签的两个属性。
android:icon="@mipmap/ic_launcher" <-- Change this one
android:roundIcon="@mipmap/ic_launcher_round" //<-- and this one
或者你可以删除
android:roundIcon="@mipmap/ic_launcher_round" //<-- and this one
确保您已将所有 mipmap/drawable 放置在正确的位置和所有 dpi。
如果您还有问题,请联系我。
关于Android Studio 应用程序图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47893199/