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

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

    1.Check whether the manifest file is there or not.

    2.If it is there, check whether the package name is correct or not..

    3.If you project has small number of classes, then you create new project in android and then copy paste your code from eclipse. It will be simple. But it is recommended only for small project.

    And finally click 'Sync' in the Gradle file. Followed by Rebuilding the project will do a trick.

提交回复
热议问题