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

前端 未结 11 1697
陌清茗
陌清茗 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:15

    In my case the Manifest file seemed to be corrupted or maybe its meta data. Trying to open it in Android Studio will show some characters that you see when opening a binary file with a text editor, for ex. Anyway, my project is under Git, so I just deleted it and restored it back, problem fixed.

提交回复
热议问题