[Solved] Android x relies on AAR errors: Failed to transform…

Problem
Updating Android Studio and using androidx to generate arr, on which the application depends, results in many errors, as follows.

Failed to transform xxxx-.aar (:xxxx:) to match attributes {artifactType=jar, org.gradle.status=integration}
Failed to transform file ‘some-lib-release.aar‘ to match attributes {artifactType=processed-aar} usi

Solution:
Modify the configuration in gradle.properties.

android.enableJetifier=false

Read More: