Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapBox dependency error for React Native. #3641

Open
chaitanya-dharpale0209 opened this issue Oct 2, 2024 · 3 comments
Open

MapBox dependency error for React Native. #3641

chaitanya-dharpale0209 opened this issue Oct 2, 2024 · 3 comments

Comments

@chaitanya-dharpale0209
Copy link

As of October 02 2024, Im using latest React Native Version.
after my complete installation of mapbox in react native, i got this error:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. > Could not find com.mapbox.maps:android:10.1.31. Required by: project :app * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output

@Nitrammets
Copy link

Nitrammets commented Oct 3, 2024

Getting something similar when trying to build for ios

The following build commands failed:
▸ 	CompileSwift normal arm64 (in target 'MapboxMaps' from project 'Pods')
▸ 	SwiftCompile normal arm64 Compiling\

@chaitanya-dharpale0209
Copy link
Author

Getting something similar when trying to build for ios

The following build commands failed:
▸ 	CompileSwift normal arm64 (in target 'MapboxMaps' from project 'Pods')
▸ 	SwiftCompile normal arm64 Compiling\

i think we should declare the library name in babel.config file as well. Just like we did it for re-animated

@chaitanya-dharpale0209
Copy link
Author

BUILD FAILED in 24s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. > Could not find com.mapbox.maps:android:10.1.31. Required by: project :app * 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 24s.
info Run CLI with --verbose flag for more details.
PS D:\FFMDA\BOY\MyNewProject>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants