简体   繁体   中英

Where are build.gradle and AndroidManifest.xml

After I upgraded to AS 4.2 and started receiving the message that AndroidManifest.xml is missing. Then I realized that there was no AndroidManifest.xml file in the project tree. And also, build.gradle was not in the tree. I clean installed 4.2 and previous versions 4.1, and 3.6. Same result. I never had to create myself AndroidManifest.xml. What is happening? I just can't use Android Studio anymore. Even a recently created flutter project comes with one of the following errors:

  • AndroidManifest.xml is missing
  • Your Flutter application is created using older version of the Android embedding (even a recently created project in which I have done nothing to change).

Android 项目树

Can you see that Drop-down menu where Project is written click it and make it Android.I hope it works.

Try updating to 4.2.1 and see if it fixes Manifest issues.

Also check android gradle plugin version. Upgrade/downgrade to see if it helps. Any error messages/Logs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM