you need to add the line below in androidmanifest.xml file
<activity android:label="@string/app_name" android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity>
android.intent.category.LAUNCHER needs to be displayed in the launch bar, and android.intent.action.MAIN is responsible for launching. This means that the application icon does not appear in the application list. but it will be displayed in Settings → Applications → Application Management.
source share