Failed to transform file ‘xxx’ to match attributes when opening previous projects.
I opened the previous project and encountered a Failed to transform file ‘xxx’ to match attributes error.
There is a problem with the added dependency cache
Solution:
C:\Users\Administrator\.gradle\caches\modules-2\files-2.1 directory, find the conflicting files, delete them, and recompile
Supplement:
If an error is reported:
Null extracted folder for artifact: ResolvedArtifact(componentIdentifier=cn.jiguang.sdk:janalytics:2.0.0, variantName=null, artifactFile=C:\Users\dell\.gradle\caches\modules-2\files-2.1\cn.jiguang.sdk\janalytics\2.0.0\4abdfc462a6164fa5629301f8682a8adb7d3d332\janalytics-2.0.0.aar, extractedFolder=null, dependencyType=ANDROID, isWrappedModule=false, buildMapping={__current_build__=D:\Android\project\build\。。}, mavenCoordinatesCache=com.android.build.gradle.internal.ide.dependencies.MavenCoordinatesCacheBuildService$Inject@5859a341)
This error is also caused by file conflicts
Read More:
- [Solved] Android x relies on AAR errors: Failed to transform…
- [Solved] Git Common Error: error: src refspec xxx does not match any/error: failed to push some refs to
- [Solved] Kubernetes Error: failed to list *core.Secret: unable to transform key
- [Solved] kitt2bag Error: Failed to find match for field intensity
- No match for ‘operator =’ both ends of the equal sign do not match
- tar: Error opening archive: Failed to open ‘/Users/xxx/Library/Caches/Homebrew/downloads/348a16e
- Failed to register bundle identifier. The app identifier “xxx” cannot be registered to your developm
- [Solved] validateRenderPassDescriptor:xxx: failed assertion XXX
- [Solved] Eslint error: /xxx/components/xxx import should occur after import of /xxx/utils/xxx
- C++ Primer Program in VsCode error: no match for call to ‘(std::__cxx11::string…)
- [Solved] Canal Error: CanalParseException: column size is not match,parse row data failed
- [Solved] Android Develop Error: xxx does not have a NavController set on xxx
- [Solved] error c101008d: Failed to write the updated manifest to the resource of file
- How to Solve Loadrunner Error: Failed to find .cfg file
- launch file Run Error: Resourcenotfound: XXX [How to Solve]
- [Solved] Android Studio Error: AAPT: error: file failed to compile
- Failed to copy files Error processing tar file [How to Solve]
- [Solved] Docker Error: SyntaxError: Non-ASCII character ‘\xe5‘ in file xxx
- [Solved] Unexpected error while saving file: xxx.ipynb database or disk is full
- [Solved] Could not resolve placeholder ‘XXX‘ in value “${XXX}“