gpt4 book ai didi

android dev - 更改ic_launcher但在运行时不出现

转载 作者:行者123 更新时间:2023-11-30 03:09:22 25 4
gpt4 key购买 nike

我删除了标准的 android 机器人图标 ic_launcher 并添加了我的(各种密度)我已经在 5 月 manifest.xml

    <application>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
....

但是在运行时清理/构建之后,我的 ActionBar 中仍然有一个微型 android 机器人,我的应用程序启动图标仍然是 android 默认应用程序机器人图标..

我想我错过了一些额外的参数??

我的 list 文件肯定是错的...由颜色指示....可绘制图标应为蓝色...

最佳答案

尝试从设备上卸载应用程序并重新安装以查看图标变化。

是的, list 文件中的 Application 标签应该像这样设置图标:

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

关于android dev - 更改ic_launcher但在运行时不出现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21254954/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com