简体   繁体   中英

No resource type specified

I need help, i am getting this error:

Error:(25, 36) No resource type specified (at 'fullBackupContent' with value '@android:'). Error:(25, 36) No resource type specified (at 'fullBackupContent' with value '@android:'). Error:Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: Failed to execute aapt

And Everytime i delete 'fullBackupContent' it appears again, What is the cause?. This is my manifest.

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission
    android:name="android.permission.READ_EXTERNAL_STORAGE"
    android:maxSdkVersion="24" />

<protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED" />

<uses-feature android:name="android.hardware.camera2" />

<application
    android:name="com.example.user.FaceJam.Pruebaloginapp"
    android:allowBackup="true"
    android:fullBackupContent="@android:"
    android:icon="@drawable/icon_facejam"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:theme="@style/AppTheme" >
    <meta-data
        android:name="com.facebook.sdk.ApplicationId"
        android:value="@string/facebook_app_id" />

    <activity
        android:name="com.facebook.FacebookActivity"
        android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="@string/app_name"
        android:theme="@style/com_facebook_activity_theme" />
    <activity
        android:name="com.example.user.FaceJam.SplashActivity"
        android:label="@string/app_name"
        android:theme="@style/Theme.AppCompat.Light.NoActionBar" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity android:name="com.example.user.FaceJam.MainActivity" />
    <activity android:name="com.example.user.FaceJam.LoginActivity" />
    <activity android:name="com.example.user.FaceJam.DashBoardActivity" />
    <activity
        android:name="com.facebook.CustomTabActivity"
        android:exported="true" >
    </activity>
    <activity android:name="com.facebook.CustomTabMainActivity" />
</application>

Please check if the file you are editing isn't a generated one. Try to find the main AndroidManifest.xml which should be the one on the top directory of your app source and edit that file.

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