Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set module in Edit Configurations option in intelliJ / Android Studio?

I've opened my Android project. But before run it, I have to Edit Configuration and choose the module. But anyone module appears in the Edit Configuration window. It is a project using Gradle.

EDIT:

When I open the Edit Configuration window, in the bottom it is showed the following message: "Error: Module not specified"

What I have to do?

like image 323
androidevil Avatar asked May 15 '13 19:05

androidevil


3 Answers

I got the same problem after renaming the project. In the Edit Configuration window, there should be the option Use classpath of module. After I set the right module, it worked. enter image description here

like image 119
mtyurt Avatar answered Sep 22 '22 05:09

mtyurt


I had a bad module, so I removed the old module and imported a new module from my project folder. (it doesn't delete any files) File > Project Structure > Modules > Add > Import Module > Location of your project

like image 28
nopeadope Avatar answered Sep 22 '22 05:09

nopeadope


I have same problem,

But when i download gradle and set GRADLE_HOME in environment, it successful,

You should try this instead.

like image 35
Huy Tower Avatar answered Sep 22 '22 05:09

Huy Tower