Connect with one of the following accounts


Please wait while we redirect...

Views: 5272 Ask New Question

Getting following exception on android app starting

Error running app: Default Activity not found
On By

2 Answers

I have spend almost 5 hours and got the solution. It is work for me and i hope some one will get help with this

Solution :

On By

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