AndroidManifest.xml: error: attribute android:dataExtractionRules not found
出现这个问题是targetSdk 不匹配,去掉AndroidManifest.xml中的android:dataExtractionRules=“@xml/data_extraction_rules” 如下图:
当出现这个错误时:error: attribute android:requestLegacyExternalStorage not found
去掉AndroidManifest.xml中的: android:requestLegacyExternalStorage="true"如下图