我已在AndroidManifest标签上设置了应用属性android:图标,但它不工作。我在文件夹drawable-hdpi,drawable-ldpi,drawable-mdpi上添加了一个名为icon.png的图片,但它坚持显示默认的android图标。设置启动图标,但只显示android默认
我在做什么错?
感谢
我AndroidManifest就像这样:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="..." android:versionCode="1" android:versionName="1.0" >
<uses-sdk android:minSdkVersion="8" />
<application
android:icon="@drawable/icon"
android:label="My App Name"
android:theme="@style/notitle"
android:persistent="true" >
我还添加了一个外部libray,它的AndroidManifest是:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="....lib" android:versionCode="1" android:versionName="1.0" >
<uses-sdk android:minSdkVersion="8" />
<application android:icon="@drawable/icon">
</application>
</manifest>
你有没有尝试从设备上卸载应用程序,并清理重建? – sandrstar
是的,卸载,更改图标的名称。它不会改变 –