Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/185.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 缺少Android图标_Java_Android_Android Studio - Fatal编程技术网

Java 缺少Android图标

Java 缺少Android图标,java,android,android-studio,Java,Android,Android Studio,为什么在“运行”Android应用程序项目后,智能手机主屏幕上不显示应用程序徽标?当安装成功并正在运行时 <?xml version="1.0" encoding="utf-8"?> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipm

为什么在“运行”Android应用程序项目后,智能手机主屏幕上不显示应用程序徽标?当安装成功并正在运行时

<?xml version="1.0" encoding="utf-8"?>

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <activity android:name=".MainActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <!--Include the AdActivity configChanges and theme. -->
    <activity android:name=".FirebaseDBReadActivity" />
    <activity android:name=".FirebaseDBActivity" />
    <activity android:name=".FirebaseDBCreateActivity" />
    <activity android:name=".FirebaseDBReadSingleActivity"/>
</application>

-----------ic_luncher.xml---------


你能检查一下android:roundIcon=“@mipmap/ic\u launcher\u round”文件吗?
如果这不是您的应用程序图标随您的图标而更改。

您是否可以检查android:roundIcon=“@mipmap/ic\u launcher\u round”文件?
如果这不是您的应用程序图标随您的图标而更改。

Hello@Riki请确保您的徽标在mipmp xxxhdpialready中可用,'android:icon=“@mipmap/ic_launcher”是mipmap文件夹中的ic_launcher.xml,请检查是、完整、hdpi、mdpi、xxxhdpi,等等。您在哪个版本的设备上遇到问题?您好@Riki请确保您的徽标在mipmp xxxhdpialready中可用,'android:icon=“@mipmap/ic_launcher”是您在mipmap文件夹中的ic_launcher.xml。请检查是、完整、hdpi、mdpi、xxxhdpi等。您在哪个版本的设备上遇到问题?哦,我的智能手机需要清除缓存哦,我的智能手机需要清除缓存
    <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background android:drawable="@drawable/ic_launcher_background" />
    <foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>