简体   繁体   中英

Why cant i sync my project in Android Studio?

I wanted to learn how to make android apps and downloaded android studio. But when I made my first project and it was trying to sync an error came. This is what it said: A problem occurred configuring project ':app'. When i went to Android Manifest most of it was red. Does someone know what to do?

 <?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> 

  android:abel="@string/app_name" 

you have error in this line. Try to change abel to label

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM