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.

5 Replies to “IntelliJ Idea – Cordova – Default Activity not found! – solution

  1. Try Ultimate version. It contains Android studio as well. Maybe GUI of Idea changed in last versions. If you find solution, let me know. Thanks.

Comments are closed.