我开发了一个简单的程序,我想更改图标。这就是更改每个可绘制文件夹中的 ic_launcher.png 文件的意思。
我在模拟器上编译,可以正常运行。它更改了新图标。当我安装手机并运行时,它仍然显示旧图标。有什么问题?
最佳答案
试试这个方法:
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name">
代替:
<application android:icon="@+drawable/ic_launcher" android:label="@string/app_name">
只需从 android:icon="@+drawable/ic_launcher"
中删除“+”号。
谢谢。
关于android - 在可绘制文件中修改png文件后,它仍然在手机运行中显示旧图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14181004/