简体   繁体   中英

Execution failed for task ':app:checkDebugAarMetadata'. Failed to Transform

I am getting the below error msg, right now I am trying to run the base app only (the one you get from npx react-native init AppName). I have no idea what to do, pls help. it is my first time using android studio and react native so I really have no idea what might be wrong.

> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform flipper-0.99.0.aar (com.facebook.flipper:flipper:0.99.0) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for ExtractAarTransform: C:\Users\ABDUL MANNAN\.gradle\caches\transforms-3\a04738f1860831486d4410af9a53bfae\transformed\jetified-flipper-0.99.0.aar.
         > C:\Users\ABDUL MANNAN\.gradle\caches\transforms-3\a04738f1860831486d4410af9a53bfae\transformed\jetified-flipper-0.99.0.aar (The system cannot find the path specified)
   > Failed to transform flipper-network-plugin-0.99.0.aar (com.facebook.flipper:flipper-network-plugin:0.99.0) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.      
      > Execution failed for ExtractAarTransform: C:\Users\ABDUL MANNAN\.gradle\caches\transforms-3\ff42bd2b6bbeeeed875ab569d23f5ccc\transformed\jetified-flipper-network-plugin-0.99.0.aar.
         > C:\Users\ABDUL MANNAN\.gradle\caches\transforms-3\a04738f1860831486d4410af9a53bfae\transformed\jetified-flipper-0.99.0.aar (The system cannot find the path specified)
   > Failed to transform flipper-fresco-plugin-0.99.0.aar (com.facebook.flipper:flipper-fresco-plugin:0.99.0) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.        
      > Execution failed for ExtractAarTransform: C:\Users\ABDUL MANNAN\.gradle\caches\transforms-3\fbed3863a27a1a52213785ab930d343e\transformed\jetified-flipper-fresco-plugin-0.99.0.aar.
         > C:\Users\ABDUL MANNAN\.gradle\caches\transforms-3\a04738f1860831486d4410af9a53bfae\transformed\jetified-flipper-0.99.0.aar (The system cannot find the path specified)
   > Failed to transform react-native-0.66.0.aar (com.facebook.react:react-native:0.66.0) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for ExtractAarTransform: C:\Users\ABDUL MANNAN\.gradle\caches\transforms-3\eed5268b74840d3ccc37351259073c8d\transformed\jetified-react-native-0.66.0.aar.
         > C:\Users\ABDUL MANNAN\.gradle\caches\transforms-3\a04738f1860831486d4410af9a53bfae\transformed\jetified-flipper-0.99.0.aar (The system cannot find the path specified)

I have provided a few lines of the error message, the rest of them are follow the pattern except the .aar package after transform changes.

将 Flipper 版本更改为FLIPPER_VERSION=0.125.0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM