简体   繁体   English

Android-新应用启动图标未呈现

[英]Android - new app launch icon not rendering

I placed a new launch icon in the 4 folders and called it ic_launcher.png for the 4 different resolutions, and I have this in my Manifest: 我在4个文件夹中放置了一个新的启动图标,并针对4种不同的分辨率将其命名为ic_launcher.png,我的清单中有这个图标:

<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" 
    >

But when I run the app, I still get the default launch icon showing up. 但是,当我运行该应用程序时,仍然会显示默认的启动图标。 Is there something else that I have to do that I am forgetting? 我还有其他需要忘记的事情吗?

Thanks! 谢谢!

Rename the icon in all 4 drawable folders and refresh the 'res' folder. 重命名所有4个可绘制文件夹中的图标,然后刷新“ res”文件夹。 Right click on it --> 'Refresh' 右键单击它->“刷新”

确保从设备中删除了旧版本的应用,然后再次运行它,它将呈现

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM