0

I have been working on an android app for some time now, and today when I have finished working and fixing all the errors. After running clean project and rebuild project I am getting this error.

Android resource linking failed
C:\Users\mypc\AndroidStudioProjects\BudgetTracker\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:17: error: resource xml/data_extraction_rules (aka com.myapp.budgettracker:xml/data_extraction_rules) not found.

C:\Users\mypc\AndroidStudioProjects\BudgetTracker\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:17: error: resource xml/backup_rules (aka com.myapp.budgettracker:xml/backup_rules) not found.
error: failed processing manifest.

I am getting a red line in my AndroidManifest.xml for this line: android:dataExtractionRules="@xml/*data_extraction_rules*"

I am unable to understand the reason behind this, if it is related to binding or imports, then I don't have any error currently on anything like that. I have done fixing all the errors except for this one.

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220
  • https://stackoverflow.com/questions/70365809/how-to-specify-to-not-allow-any-data-backup-with-androiddataextractionrules – Awais ul Hassan Mar 01 '23 at 04:40
  • 1
    Why the * on android:dataExtractionRules="@xml/*data_extraction_rules*" ? Shouldn't it be android:dataExtractionRules="@xml/data_extraction_rules" ? – Leonardo Sibela Mar 03 '23 at 00:16

0 Answers0