失败:构建失败并出现异常。
评估任务“:react-native-screens:compileDebugKotlin”的属性“filteredArgumentsMap”时出错无法解析配置“:react-native-screens:debugCompileClasspath”的所有工件。> 无法转换 core-ktx-1.5.0.aar (androidx.core:core-ktx:1.5.0) 以匹配属性 {artifactType=android-classes-jar, org.gradle.category=library, org.gradle。 dependency.bundling=external、org.gradle.libraryelements=aar、org.gradle.status=release、org.gradle.usage=java-api}。> AarToClassTransform 执行失败:C:\Users\ABC.gradle\caches\transforms-3\186e662719f643b770233b2443ab0f39\transformed\jetified-core-ktx-1.5.0.aar。> 未找到 zip END 标头
尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。使用 --scan 运行以获得完整的见解。
在https://help.gradle.org获取更多帮助
28 秒内构建失败
at makeError (D:\ReactNative\todo\node_modules\execa\index.js:174:9)
at D:\ReactNative\todo\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (D:\ReactNative\todo\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (D:\ReactNative\todo\node_modules\@react-native-community\cli\build\index.js:192:9)
Run Code Online (Sandbox Code Playgroud)
info 使用 --verbose 标志运行 CLI 以获取更多详细信息。这个你能帮我吗