Hi
I'm pretty new to android. I have a task to make SharedPreferences persist after the user removes and re-installs the application.
I configured the AndroidManifest with
android:allowBackup="true"
android:fullBackupContent="@xml/backup_rules"
where the backup_rules.xml looks like this:
I configured my google drive backup and signed in with my google account
when i try to invoke the backup manually with adb i get the following error:
Running incremental backup for 1 requested packages.
Package @pm@ with result: Success
Package com.mycomp.myTest with result: Transport rejected package because it wasn't able to process it at the time
Backup finished with result: Success
what might be the problem?
The phone is Galaxy Note20 Ultra 5G
Android version 13
Thanks in advance
I'm pretty new to android. I have a task to make SharedPreferences persist after the user removes and re-installs the application.
I configured the AndroidManifest with
android:allowBackup="true"
android:fullBackupContent="@xml/backup_rules"
where the backup_rules.xml looks like this:
backup_rules.xml:
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<!-- Include shared preferences -->
<include domain="sharedpref" path="." />
<!-- Add other paths you want to include in the backup -->
</full-backup-content>
I configured my google drive backup and signed in with my google account
when i try to invoke the backup manually with adb i get the following error:
Running incremental backup for 1 requested packages.
Package @pm@ with result: Success
Package com.mycomp.myTest with result: Transport rejected package because it wasn't able to process it at the time
Backup finished with result: Success
what might be the problem?
The phone is Galaxy Note20 Ultra 5G
Android version 13
Thanks in advance