The application icon does not appear after installing the Android application.

I am developing an Android application, and when I install the application on an Android phone, the application icon does not appear in the application section. But it appears in the application manager, and I can do the removal. After googling, some said that I needed to rebuild my project and make sure that the application icon in the resource was paintable. I have already tried this solution and the problem is still happening. The manifest file I created looks like this:

<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme"> <activity android:name=".MyActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> <action android:name="android.intent.action.view" /> <data android:scheme="geo" /> </intent-filter> </activity> </application> 
+6
source share
3 answers

I believe that the geo-scheme cannot be used with Launcher. I cannot find any documentation, but in this tutorial they suggest using with the default category.

Try moving the code associated with the location to another action and move the scheme = geo-filter to this one.

+1
source

In the manifest in action, try using or adding another intent filter

 <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> 

`

+1
source

Change

android:icon="@drawable/ic_launcher"

Using icon

if you want to delete this icon that you must remove from any folder, for example

 drawable drawable-hdpi drawable-mdpi drawable-xhdpi 
0
source

Source: https://habr.com/ru/post/977395/


All Articles