0
我需要幫助,我得到這個錯誤:沒有資源類型指定
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
每次我刪除「fullBackupContent」它再次出現,原因是什麼?這是我的清單。
<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>
希望這有助於:[配置數據備份](https://developer.android.com/training/backup/autosyncapi.html#configuring) –
我不明白你爲什麼有''@android:'' – hehe
我正在嘗試fullbackup,但後來發生了,奇怪的是我每次嘗試從AndroidManifest中刪除一些東西,然後單擊生成,我刪除的行再次出現! –