ERROR: Android Source Generator: [project] AndroidManifest.xml file not found

前端 未结 13 834
旧时难觅i
旧时难觅i 2021-02-03 17:57

I am a newbie to android , using intellij idea. when I want to compile my hello-world ( the first step ;) ) I faced with this error \"Android Source Generator: [project] Android

13条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-03 18:27

    There may be more than one answer to this. Check that your Android project is not under another directory of the same name. Android Studio is easily confused by this.

    For example, change: /Development/MyProject/MyProject/app/...

    to this structure: /Development/MyProject/app/...

    When I changed this in my own project, it went from refusing to build to doing an auto-build on opening the project. Hope this is useful.

提交回复
热议问题