Connect with one of the following accounts


Please wait while we redirect...

Views: 3522 Ask New Question

Getting following exception on android app starting

Error running app: Default Activity not found
On By

1 Answer

This is because you might not have added intent-filter to any of your Activities in AndroidManifest.xml
Add intent-filter to your Starting activity, if your starting activity's name is MainActivity then the entry looks like below

<activity android:name=".MainActivity">
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
On By

Answer This Question

Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News