【发布时间】:2016-12-14 17:12:39
【问题描述】:
首先,我将一些图标复制到 mipmap(named ic_launcher.png) - 没有用。
第二次我右键单击res>new>image asset - 也没有用。
我的 manifest.xml 代码是 as。
<application
android:name=".BlogI"
android:allowBackup="true"
android:icon="@mipmap/applicationicon" // This even shows the right icon in right corner along with the line numbers
android:label="@string/app_name"
......
......
我尝试了清理项目并重新运行,重新启动了我的 android studio(甚至我的 PC)也重新启动了我的 android 设备。但是,以上都没有奏效。在问这个问题之前,我尝试了其他类似的问题,但没有任何帮助。 Like this one.
如果有任何替代方案,请提出建议!谢谢!
【问题讨论】:
-
您是否尝试卸载该应用并重新运行它?
-
你有多少个 mipmap 文件夹?如果您有超过 1 个,请确保您更改了所有设备
-
@PrerakSola Yeap 试过了。现在超过七次。没用。
-
在不同的设备/模拟器上试试。
-
@MarkoNiciforovic 有 5 个 mipmap 文件夹。我全都变了。不工作。
标签: android android-studio android-manifest