Android Project Structure is incorrect; only one build.gradle

后端 未结 3 2020
北海茫月
北海茫月 2021-01-21 17:32

I have an incorrect project structure. I need a top-level build-gradle, and a module on the same level that contains its own build.gradle.

See picture of h

3条回答
  •  -上瘾入骨i
    2021-01-21 18:25

    It's because Gradle looks for AndroidManifest in a default place --> App/src/main/AndroidManifest.xml

    You can define where Gradle can search for your AndroidManifest. How to tell Gradle to use a different AndroidManifest from the command line?

提交回复
热议问题