IntelliJ Idea – Cordova – Default Activity not found! – solution

Situation: import Cordova project with support of Android platform to Intellij Idea. You’re not able to start emulator, because of strange error:

Default Activity not found!

cordova-error-activity-not-found

One solution could be: go to File menu and choose Invalidate Caches /Restart.

This might not help.

The real problem is most likely in configuration of Android module. Open project configuration, select module and make sure that directory src is marked as Source.

cordova-error-add-sources

Confirm module configuration and error message should disappear.

6. January 2014 at 22:34 - Software engineering (Tags: , , , , ). Both comments and pings are currently closed.

0 0 votes
Article Rating
5 Comments
Inline Feedbacks
View all comments
Barend
10 years ago

THANKS A LOT FOR THIS!!!!

9 years ago

thanks.

Sbr
9 years ago

I cant find project configuration in android studio?