The application does not appear on the launcher

After installing the application using the launch command in Android Studio, the application starts correctly, I see it in the list of applications and the account manager. The problem is that it does not appear at all in the application launcher. (I have Google Launcher installed on the Nexus 5 device I'm testing on, and everything works fine up to 6.0.1). The name of the application is "Pumpkin".

Here is the manifest

And here is a screenshot that suggested Pumpkin was right.

The launcher

+5
source share
2 answers

Your Intent-Filter seems wrong. Change to:

<activity android:name="com.pumpkin.activities.SplashScreenActivity" android:label="@string/app_name" android:screenOrientation="portrait" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <data android:scheme="pumpkin.com" android:host="open" /> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> </intent-filter> </activity> 
+16
source

Add this intent filter to your splash screen activity:

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

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


All Articles