Error on Android app starting - Error running app: Default Activity not found
Views: 3884 Ask New Question
Getting following exception on android app starting
Error running app: Default Activity not found
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
- Delete the cash from your
%Home%\.gradle\cashand sync project again.
- Also check that is there in no any duplicate tag in your Manifest.
- I have checked this stack overflow questions and tried all the answers to fix this
- Here is one solution also https://github.com/googlesamples/android-CommitContentSampleIME/issues/2#issuecomment-428936292
This is because you might not have added
intent-filter to any of your Activities in
intent-filter to your Starting activity, if your starting activity's name is MainActivity then the entry looks like below
<activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity>
Answer This Question