我得到下面的错误消息,现在我正试图运行基础应用程序只(一个你从npx react-native init AppName)。我不知道该怎么办,请帮帮我吧。这是我第一次使用android studio和react native,所以我真的不知道哪里出了问题。
> 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:UsersABDUL MANNAN.gradlecachestransforms-3a04738f1860831486d4410af9a53bfaetransformedjetified-flipper-0.99.0.aar.
> C:UsersABDUL MANNAN.gradlecachestransforms-3a04738f1860831486d4410af9a53bfaetransformedjetified-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:UsersABDUL MANNAN.gradlecachestransforms-3ff42bd2b6bbeeeed875ab569d23f5ccctransformedjetified-flipper-network-plugin-0.99.0.aar.
> C:UsersABDUL MANNAN.gradlecachestransforms-3a04738f1860831486d4410af9a53bfaetransformedjetified-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:UsersABDUL MANNAN.gradlecachestransforms-3fbed3863a27a1a52213785ab930d343etransformedjetified-flipper-fresco-plugin-0.99.0.aar.
> C:UsersABDUL MANNAN.gradlecachestransforms-3a04738f1860831486d4410af9a53bfaetransformedjetified-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:UsersABDUL MANNAN.gradlecachestransforms-3eed5268b74840d3ccc37351259073c8dtransformedjetified-react-native-0.66.0.aar.
> C:UsersABDUL MANNAN.gradlecachestransforms-3a04738f1860831486d4410af9a53bfaetransformedjetified-flipper-0.99.0.aar (The system cannot find the path specified)
我提供了几行错误消息,其余的都遵循模式,除了转换更改后的.aar包。
改变鳍FLIPPER_VERSION=0.125.0
那么它将工作版本。