Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.apk installed on Android but cannot be found anywhere!

I have developed two small applications for Android using Eclipse. Then i ran them both on the phone by right-clicking on the project and "run as android application", and they were successfully tested. However, when i try to install their .apk files, one of them appears in the list, while the other does not appear. I checked the application manager and it shows that the application is saved. I tried to find it using the "search" in the phone, it can find all saved .apk except this one.

Pls do you have any idea where did i go wrong especially that it seems saved, and only this application does not appear in the phone although the application manager says it is installed.

like image 644
Adroidist Avatar asked Feb 24 '23 18:02

Adroidist


1 Answers

Found out why this was happening. You need this in your AndroidManifest as a part of your main activity.

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

My mistake was that I used <action android:name="android.intent.category.LAUNCHER"/> instead of <category android:name="android.intent.category.LAUNCHER"/>. Without the category.LAUNCHER, you're not telling it to list the software in the application launcher, so it becomes invisible.

like image 129
Muz Avatar answered Mar 05 '23 02:03

Muz