Application is uninstalled by itself

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Application is uninstalled by itself

Postby andreleitao » Mon Sep 21, 2009 3:33 pm

Hi, folks. I'm surprised with the fact my application is being uninstalled by itself on a real device. I have many activities registered on my AndroidManifest.xml file. But one of them is the main activity, as defined below:

<activity android:name=".main.MainMenu"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>


This activity is launched normally, but when I press BACK button on a real device (not tested on emulator yet) the application is uninstalled. When I try to open it again the following message appears for me:

"Application is not installed on your phone."

I really don't know why. Can you help me?

Thanks :)
andreleitao
Experienced Developer
Experienced Developer
 
Posts: 70
Joined: Tue Mar 10, 2009 9:56 pm
Location: Recife - Brazil

Top

Postby andreleitao » Thu Sep 24, 2009 3:14 pm

Well, misteriously the problem was solved. All I did was uninstall the application (even if device tell me that application was not installed) and install it again from Eclipse. Very bizarre error. Maybe it's a SDK or G1 bug.

That's it :)

Thanks
andreleitao
Experienced Developer
Experienced Developer
 
Posts: 70
Joined: Tue Mar 10, 2009 9:56 pm
Location: Recife - Brazil

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 5 guests