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

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

    In my case, my android project got corrupted and some of the files were showing characters, binary numbers, etc. I tried the following solutions

    1. Invalidate & Restart
    2. Rebuild Project
    3. Sync with Gradle File

    But none of the above solutions worked for me.

    Then I just deleted the cache folder under C:\Users\username\.AndroidStudio3.6\system

    and all the invalid characters disappeared and the actual contents of all the files were displayed. This solution worked for me.

提交回复
热议问题