Android Studio: Module won't show up in “Edit Configuration”

后端 未结 30 2100
情歌与酒
情歌与酒 2020-11-29 15:38

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

30条回答
  •  自闭症患者
    2020-11-29 16:43

    goto Android >> Gradle Scripts>>Build Gradle(Module :app)

    make sure the first line of this file is like this.

    apply plugin: 'com.android.application'
    

    not like this

    apply plugin: 'com.android.library'
    

提交回复
热议问题