为什么我不能在Android Studio中同步项目?

时间:2018-10-17 15:21:24

标签: android synchronization

我想学习如何制作android应用程序并下载android studio。 但是,当我制作第一个项目并尝试同步时,出现了错误。这就是它的意思:配置项目':app'时发生问题。 当我去Android Manifest时,大部分都是红色的。有人知道该怎么办吗?

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.oliver.mycart">

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

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

</manifest>

1 个答案:

答案 0 :(得分:1)

  android:abel="@string/app_name" 

您在此行中有错误。尝试将 abel 更改为 label

相关问题