简体   繁体   English

Android中的启动器图标未显示

[英]Launcher icon in Android not showing

Are there any special guidelines to put launcher icon in Android 7.1.1 ? 在Android 7.1.1中是否有用于放置启动器图标的特殊指南?

Because I added a logo in manifest file and its showing in all Android versions but not in my phone. 因为我在清单文件中添加了徽标,并且徽标在所有Android版本中均显示,但未在手机中显示。 Anyone got a clue? 有人知道了吗?

In Manifest.xml , please check have to set icons for both android:icon="@mipmap/ic_app_icon" and android:roundIcon="@mipmap/ic_app_icon" : Manifest.xml中 ,请检查是否必须同时为android:icon="@mipmap/ic_app_icon"android:roundIcon="@mipmap/ic_app_icon"设置图标:

在此处输入图片说明

Here is the full code : 这是完整的代码:

 <application
    android:allowBackup="true"
    android:icon="@mipmap/ic_app_icon"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_app_icon"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">

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

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