I\'ve imported a project to Android Studio with several subprojects.
I want to run a subproject.
I successfully made this subproject\'s build.gradle as a mo
None of the previous answers worked for me, so I deleted and reinstalled Android Studio. Worked like a charm.
The following worked for me:
include ':myNewModule'
Add your module in your applications .iml file like:
orderEntry type="module" module-name="yourmoudlename" exported=""
It works for me.
In your module build.gradle file make sure you have the correct plugin set. it should be
apply plugin: 'android'
Close all Android Studio projects
Remove the project from the recent projects in Android Studio wizard
Restart Android Studio
Use import option (Import project- Gradle, Eclipse ADT, etc.) instead of open an existing
Project AS project
File -> Sync project with gradle files
These types of problems are related to AndroidManifest.xml, so check the bugs thats are in AndroidManifest file.