Android 一直将默认图标放在 phone
Android keeps putting default icon in phone
我已经更改了 mipmap 文件夹中的图标。在我的 AndroidManifest 中:
android:allowBackup="true"
android:icon="@mipmap/launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/launcher"
但是phone中绘制的图标是默认的(绿色的跟droid一样)。我什至删除了 ic_launcher.png 和 ic_launcher_round.png 文件...
卸载重装了很多次。 Clean/rebuild也很多次。没有任何效果。
这让我摸不着头脑。
有什么帮助吗?
更改应用程序启动器图标的最佳方法是使用 Android Studio 中实现的图像资源选项。它处理所有常见的手机尺寸。
更多信息在这里 - https://developer.android.com/studio/write/image-asset-studio#access
我已经更改了 mipmap 文件夹中的图标。在我的 AndroidManifest 中:
android:allowBackup="true"
android:icon="@mipmap/launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/launcher"
但是phone中绘制的图标是默认的(绿色的跟droid一样)。我什至删除了 ic_launcher.png 和 ic_launcher_round.png 文件...
卸载重装了很多次。 Clean/rebuild也很多次。没有任何效果。
这让我摸不着头脑。
有什么帮助吗?
更改应用程序启动器图标的最佳方法是使用 Android Studio 中实现的图像资源选项。它处理所有常见的手机尺寸。
更多信息在这里 - https://developer.android.com/studio/write/image-asset-studio#access