"The IntentFilter of the Activity Must Contain android.intent.action.MAIN action"
This is a new strange issue. I have had other android apps before and this has never occured! Anyways, when I attempt to run my application on android I recieve that message. I am using libgdx to set up a cross platform java game/app. This error appears at the bottom of the build configuration dialog (screenshot attached).
I am not quite sure what this means and a search on the web gave came up with nothing useful.
Attachment(s):
2012-08-22_2146.png
Please sign in to leave a comment.
It seems you need to specify intent-filter for your activity in AndroidManifest.xml. It should be like:
<activity android:name=".AndroidStarter" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Ahhh, I changed the name of my main class and I think however I did it, it did not change in the manifest!
Thanks :)