Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application Not installed in your phone

I run the application in the emulator it works successfully and the icon of the application is show in the emulator menu but when i try to run again that app from the emulator menu it can't allow me to run from that and display the Toast "Application is Not installed in your phone".

In the Image the red rounded is my application icon.

enter image description here

like image 592
Yog Guru Avatar asked Jan 02 '12 07:01

Yog Guru


People also ask

Why is my phone showing app not installed?

Corrupted storage, especially corrupted SD cards, is one of the most common reasons why Android app not installed error occurs. Unwanted data might contain elements that disturb the storage location, causing Android app can't install error.

Why does the APK file say app not installed?

Recently few users have reported about “App not installed” error message on their Android devices. Generally, it occurs when users try to install an APK that is not available in Google Play Store. Though you cannot say that it's a software or hardware issue but it completely depends on your device usage.


2 Answers

This can happen if you have your MainActivity declared twice in your AndroidManifest.xml,

first as a launhcer

<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" />
    </intent-filter>
</activity>

and then just declared like:

<activity android:name=".MyActivity" />

So check for this and delete the second extra declaration.

like image 158
Android Avatar answered Oct 11 '22 19:10

Android


Also, it happened to me once when I changed the launch activity. Reinstalling the application and restarting the phone make it work.

like image 24
sebastianf182 Avatar answered Oct 11 '22 18:10

sebastianf182