我正在为Honeycomb
这个非常古怪的问题开发一个应用程序。
我已经更改ic_launcher
了每个drawable
文件夹中的应用程序settings
图标(
我已经清理了项目,搜索了每一个错误的行,没有结果。
帮助将不胜感激:)
我正在为Honeycomb
这个非常古怪的问题开发一个应用程序。
我已经更改ic_launcher
了每个drawable
文件夹中的应用程序settings
图标(
我已经清理了项目,搜索了每一个错误的行,没有结果。
帮助将不胜感激:)
奇怪的问题
只需像这样更改@drawable/appicon
您的图标Manifest.xml
:
<application android:icon="@drawable/appicon" android:label="@string/app_name"
android:name="com.droid.MyApplication">
...
</application>
在我的情况下,我重新启动设备后图标正确显示。不过,我遵循了上述建议。
转到 AndroidManifest 并编辑:
<application
android:icon="@mipmap/ic_custom_launcher"
android:roundIcon="@mipmap/ic_custom_launcher">
/* .... */
</application>
它可能发生了,因为没有卸载带有旧启动器图标的旧应用程序。因此,只需尝试卸载您的应用程序。并且,将不同大小的图标放在两个drawable
文件夹中。
将图标名称添加到您的AndroidManifest.xml
文件<application>
标签中。
<application android:icon="@drawable/launcher_icon"
android:label="@string/app_name">
并且,运行您的应用程序。