“AndroidManifest.xml doesn't exist or has incorrect root tag” Error

前端 未结 11 1695
陌清茗
陌清茗 2021-01-17 07:29

I am new to AndroidStudio AND Gradle.

I imported a project from eclipse, created a module, and tried to run the project, but I got this error:

Androi         


        
11条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-17 08:22

    I also had this problem, things I tried:

    1. Syncing the file with gradle
    2. Invalidate/Restart But the problem was still there in the manifest folder-> manifest.xml file it had only 1 line.
    3. So I went to User-> your_username -> Android Studio v -> caches and Deleted the cache folder. Started Android Studio, and my problem was gone. But I am not sure which of these might solve yours.

提交回复
热议问题