Unable to Run .java file in Android Studio 4.0.1, Edit Configuration appears

129 Views Asked by At

While trying to Run the application, "Edit Configuration" appears and this below window opens:

enter image description here

How to proceed after this?

Pressing "Run" button does nothing.

Further on expanding the Templates drop-down, I am getting no-module in the Module box which is the only option available there.

enter image description here

1

There are 1 best solutions below

6
On BEST ANSWER

Its because you haven't created the main activity / First activiy (module)

Also try refactoring your modules and package name

You will be promted to select an activity when starting a project, you might have missed it