【问题标题】:Error: AndroidManifest.xml doesn't exist and configuration is not found错误:AndroidManifest.xml 不存在且找不到配置
【发布时间】:2021-09-25 08:21:20
【问题描述】:

我从 Github 导入了我的项目,但它的配置丢失,当我手动添加配置时,它向我显示一个错误(错误:AndroidManifest.xml 不存在或根标签不正确) 任何机构都可以在这方面帮助我

【问题讨论】:

  • 尝试从 File->Invalidate caches / restart -> Invalidate and restart 重建你的项目。

标签: android-studio android-manifest


【解决方案1】:

您的AndroidManifest 是如何损坏的。 AndroidManifest 应包含根应用程序详细信息和其他项目设置,如下所示。请创建新项目重试。

AndroidManifest:

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <activity android:name=".MainActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-02-19
    • 1970-01-01
    • 2021-01-10
    • 2019-09-02
    • 1970-01-01
    相关资源
    最近更新 更多