Monday, June 20, 2011

Android apk is installed but does not run on device

I faced a problem when I'm trying to debug my android apk from Eclipse on device/emulator, it successfully installed, but not automatically started.

It was necessary just to check AndroidManifest.xml

It should contain the line:
<category android:name="android.intent.category.LAUNCHER" />

And also must not contain errors!
When I removed the unused line (before mentioned above) the problem goes away.

No comments:

Post a Comment