You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, I would like to create/test builds locally before CI and stuck with android for a bit. CI works fine for android/ios, locally I can build for ios only atm. Appreciate any help or advice.
@rnmapbox/maps version: ^10.1.30 (tried with 10.1.27, 10.1.28, 10.1.29 also)
React Native version: 0.74.5
Expo version: 51.0.28
Steps to reproduce
npx create-expo-app newApp --template blank
cd newApp
expo install @rnmapbox/maps
> add plugin to the app.json
"plugins": [
[
"@rnmapbox/maps",
{
"RNMapboxMapsDownloadToken": "TOKEN" // selected every checkbox when generated this token just to be sure
}
]
]
eas build --platform android --local
I can confirm that issue is not a token since IOS build is successfull and the app working fine but not for android.
However I still get token related error I assume:
[RUN_GRADLEW] FAILURE: Build failed with an exception.
[RUN_GRADLEW] * What went wrong:
[RUN_GRADLEW] Could not determine the dependencies of task ':app:buildReleasePreBundle'.
[RUN_GRADLEW] > Could not resolve all dependencies for configuration ':app:releaseRuntimeClasspath'.
[RUN_GRADLEW] > Could not resolve com.mapbox.maps:android:10.16.2.
[RUN_GRADLEW] Required by:
[RUN_GRADLEW] project :app > project :rnmapbox_maps
[RUN_GRADLEW] > Could not resolve com.mapbox.maps:android:10.16.2.
[RUN_GRADLEW] > Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/10.16.2/android-10.16.2.pom'.
[RUN_GRADLEW] > Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/10.16.2/android-10.16.2.pom'. Received status code 403 from server: Forbidden
[RUN_GRADLEW] > Could not resolve com.mapbox.mapboxsdk:mapbox-sdk-turf:6.11.0.
[RUN_GRADLEW] Required by:
[RUN_GRADLEW] project :app > project :rnmapbox_maps
[RUN_GRADLEW] > Could not resolve com.mapbox.mapboxsdk:mapbox-sdk-turf:6.11.0.
[RUN_GRADLEW] > Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-sdk-turf/6.11.0/mapbox-sdk-turf-6.11.0.pom'.
[RUN_GRADLEW] > Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-sdk-turf/6.11.0/mapbox-sdk-turf-6.11.0.pom'. Received status code 403 from server: Forbidden
[RUN_GRADLEW] * Try:
[RUN_GRADLEW] > Run with --stacktrace option to get the stack trace.
[RUN_GRADLEW] > Run with --info or --debug option to get more log output.
[RUN_GRADLEW] > Run with --scan to get full insights.
[RUN_GRADLEW] > Get more help at https://help.gradle.org.
[RUN_GRADLEW] BUILD FAILED in 21s
[RUN_GRADLEW] 10 actionable tasks: 10 executed
[RUN_GRADLEW] Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
The text was updated successfully, but these errors were encountered:
Hey guys, I would like to create/test builds locally before CI and stuck with android for a bit. CI works fine for android/ios, locally I can build for ios only atm. Appreciate any help or advice.
The same opened issue for flutter I saw: mapbox/mapbox-maps-flutter#580
Environment
Steps to reproduce
I can confirm that issue is not a token since IOS build is successfull and the app working fine but not for android.
However I still get token related error I assume:
The text was updated successfully, but these errors were encountered: