You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

修改AndroidManifest.xml后,Android Studio模拟器中App无法运行求助

应用修改AndroidManifest.xml后无法正常启动

修改AndroidManifest.xml文件后,点击Android Studio运行按钮,应用无法正常启动。目前正在开发Intent跳转至新Activity(StarterActivity)的功能,附上当前的AndroidManifest.xml代码及运行失败的截图,希望能得到解决建议。

运行失败截图

应用启动失败截图

我的AndroidManifest.xml代码

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.restaraunt">
    <application
        android:allowBackup="true"
        android:dataExtractionRules="@xml/data_extraction_rules"
        android:fullBackupContent="@xml/backup_rules"
        android:icon="@mipmap/ic_launcher"
        android:label="Samba Express"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.Restaraunt"
        >
        <activity
            android:name=".StarterActivity"
            android:label="Starters"
            android:parentActivityName=".MainActivity"
            android:exported="true"
            />
        <activity
            android:name=".MainActivity"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

内容的提问来源于stack exchange,提问作者Roshan R

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.17 06:05:09