Android Studio 2.1 Error while Lauching activity - Default Activity not found


The problem itself what I have! It is that at the moment of compiling my application, with the AVD Manager or even with the Genymotion Device Manager plugin, it does everything it has to do but when launching the application or opening it it pulls error. And it's not such a big project, it's just testing.

Fecha (Date): Launching app
No local changes, not deploying APK
Could not identify launch activity: Default Activity not found
Error while Launching activity
asked by Samuel Mena 11.08.2016 в 06:36

1 answer


The " Default Activity not found " error triggers when there is no activity marked as primary ( MAIN ) in AndroidManifest.xml .

You should have a statement like the following in <application> </application> :

            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
answered by 11.08.2016 / 07:56