On SDK version 23 and up your app data will be automatically backed up

Ошибка в Android Studio 

On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute `android:fullBackupContent` to specify an `@xml` resource which configures which files to backup, or just set `android:fullBackupOnly=true`.

Для исправления ошибки в файле AndroidManifest.xml необходимо указать android:fullBackupContent=»true» и android:allowBackup=»true», то есть

<application
    android:allowBackup="true"
    android:fullBackupContent="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/MyTheme">

Ошибка в Android Studio должна исчезнуть

462

Leave a Reply

Ваш адрес email не будет опубликован.