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
This mainly happens when you copy a library project and try to build it. The solution would be to add
apply plugin: 'com.android.application'
in the build.gradle file, instead of
apply plugin: 'com.android.library'
Then do a gradle sync