0

I'm encountering an issue while setting up a React Native project with Expo and rnmapbox. After running expo prebuild --clean and npx expo run android, I get the following error during the build process:

Task :react-native-reanimated:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  1. What went wrong: Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'.

Could not resolve all files for configuration ':react-native-reanimated:debugCompileClasspath'. Failed to transform core-ktx-1.9.0.aar (androidx.core:core-ktx:1.9.0) to match attributes... Could not find core-ktx-1.9.0.aar (androidx.core:core-ktx:1.9.0).

Created a new Expo project.

  1. Added rnmapbox to the project.

Run the following commands as per the documentation:

  1. npx expo prebuild --clean

  2. npx expo run android

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.