Android Studio-错误:AndroidManifest.xml不存在或具有不正确的根标记

时间:2018-11-18 21:06:55

标签: java android xml android-manifest

当窗口打开且窗口下方显示Error: AndroidManifest.xml doesn't exist or has incorrect root tag时,我正要重建并运行我的应用程序,因此我打开了清单文件以检查到底是什么错误,并发现了这样的内容:

/* AUTO-GENERATED FILE.  DO NOT MODIFY.
 *
 * This class was automatically generated by the
 * gradle plugin from the resource data it found. It
 * should not be modified by hand.
 */
package android.support.graphics.drawable.animated;

public final class R {
  private R() {}

public static final class attr {
    private attr() {}

    public static final int coordinatorLayoutStyle = 0x7f020070;
    public static final int font = 0x7f020089;
    public static final int fontProviderAuthority = 0x7f02008b;
    public static final int fontProviderCerts = 0x7f02008c;
    public static final int fontProviderFetchStrategy = 0x7f02008d;
    public static final int fontProviderFetchTimeout = 0x7f02008e;
    public static final int fontProviderPac`

我不知道所有这些都是从哪里来的,我只是在几分钟后才成功实现了一次成功的测试。 现在,在您急于将此问题标记为重复的问题之前,我已经花了很多时间研究建议的解决方案,但没有运气

更新,我尝试了几种解决方案,例如重新同步,清理项目,重建,但没有一个解决方案

0 个答案:

没有答案