I just installed Android Studio 0.6.1 and imported a project from Eclipse. When I tried to run the project, I got Error: Default Activity not found
.
I looked at these two StackOverflow questions:
As suggested, I tried to invalidate the caches + restart and make sure my AndroidManifest
was correct. Both didn't work.
I also tried this solution, but to no avail:
Try to right click on the project and choose Open Module Settings. Then go to the Sources tab in your module, find the src folder, right click on it and mark it as Sources (blue color).
When I opened the module settings, there was no sources tab.
How can I fix this problem?
Is there there any equivalent of the sources tab in Android Studio 0.6.1?
Edit:
Here's the launcher activity
<activity
android:name="com.lschlessinger.appname.activities.SplashScreenActivity"
android:noHistory="true" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
I also tried cleaning my project, rebuilding my project, and restarting Android Studio, all of which, did not resolve the problem.
As a temporary solution, I'm manually selecting the launcher activity in the run configuration.