Android的工作室:Android清单不存在,或者有不正确的根标签 [英] Android Studio: Android Manifest doesn't exists or has incorrect root tag

查看:202
本文介绍了Android的工作室:Android清单不存在,或者有不正确的根标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到在Android工作室这个错误:

I get this error on Android Studio:

项目于Android的工作室从头开始创建,这是工作的罚款。 什么样的变化我做了(如果我没有记错),是关于一个弹出式对话框,如 Android框架检测。 Android的标志出现在该对话框中,用pressing是的,它做了一些变更项目/模块的配置。 然后发生的错误。我怎样才能得到它回来工作?

Project was created in Android Studio from scratch, and it was working fine. What change I made (if I recall correctly), was about a popup dialog, like "Android Framework detected". The Android logo appeared in that dialog, and by pressing "Yes", it did some changes to the configurations of the project/module. And then the error occurred. How i can get it back working?

编辑: 这个问题是不是摇篮相关。这是的IntelliJ / Android的工作室相关。什么是错的 .iml 文件。我创建了一个新的项目,精心合并我的code的新项目。 但首先,我从这里看到一些工作人员约摇篮构建系统:

The problem was not Gradle related. It was IntelliJ/Android Studio related. Something was wrong in a .iml file. I created a new project, and carefully merged my code with the new project. But first, I read some staff about Gradle build system from here:

<一个href="http://tools.android.com/tech-docs/new-build-system/user-guide">http://tools.android.com/tech-docs/new-build-system/user-guide

(我那是怎么意识到那不是摇篮相关)

(Thats how i realized it wasn't Gradle related)

推荐答案

在Android的工作室v0.8.2上点击同步项目摇篮文件按钮,解决了我的问题。

On Android Studio v0.8.2 clicking on Sync project with Gradle files button solved my problem.

更新

感谢的 jaumard 的注释。如果同步项目摇篮文件是不可见的,你必须打开摇篮面板,点击顶部同步图标的工具栏。

Thanks to the comment of jaumard. If the Sync project with Gradle files it's not visible you have to open the Gradle panel and click sync icon on top the toolbar.


希望它可以帮助:)

这篇关于Android的工作室:Android清单不存在,或者有不正确的根标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆