Troubleshooting
This page can be helpful if you encounter some build issues with DriveKit SDK in your app.
dataExtractionRules property merge issue
dataExtractionRules property merge issue<application
android:dataExtractionRules="@xml/merged_data_extraction_rules"
tools:replace="android:dataExtractionRules"
/> <?xml version="1.0" encoding="utf-8"?>
<data-extraction-rules>
<!-- Exclude rules of your app and/or the external libraries -->
<cloud-backup>
<exclude domain="sharedpref" path="DriveKitPreferences.xml" />
<exclude domain="sharedpref" path="DriveKitEncryptedPreferences.xml" />
<exclude domain="sharedpref" path="DriveKitBackupPrefs.xml" />
<include domain="sharedpref" path="DriveKitBackup.xml" />
</cloud-backup>
<device-transfer>
<exclude domain="sharedpref" path="DriveKitPreferences.xml" />
<exclude domain="sharedpref" path="DriveKitEncryptedPreferences.xml" />
<exclude domain="sharedpref" path="DriveKitBackupPrefs.xml" />
<include domain="sharedpref" path="DriveKitBackup.xml" />
</device-transfer>
</data-extraction-rules>fullBackupContent property merge issue
fullBackupContent property merge issueBackupAgent merge issue
BackupAgent merge issueWay 1 - Inherit from DriveKitBackupAgent
DriveKitBackupAgentWay 2 - Call DriveKit backup methods
Last updated
Was this helpful?

