FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:react-native-screens:compileDebugKotlin’.
Error while evaluating property ‘filteredArgumentsMap’ of task ‘:react-native-screens:compileDebugKotlin’
Could not resolve all artifacts for configuration ‘:react-native-screens:debugCompileClasspath’.
> Failed to transform core-ktx-1.5.0.aar (androidx.core:core-ktx:1.5.0) to match attributes {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}.
> Execution failed for AarToClassTransform: C:UsersABC.gradlecachestransforms-3186e662719f643b770233b2443ab0f39transformedjetified-core-ktx-1.5.0.aar.
> zip END header not found
-
Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 28s
at makeError (D:ReactNativetodonode_modulesexecaindex.js:174:9)
at D:ReactNativetodonode_modulesexecaindex.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (D:ReactNativetodonode_modules@react-native-communitycli-platform-androidbuildcommandsrunAndroidrunOnAllDevices.js:109:5)
at async Command.handleAction (D:ReactNativetodonode_modules@react-native-communityclibuildindex.js:192:9)
info Run CLI with –verbose flag for more details.
please help me out with this