My env:
"react-native": "0.59",
"@mapbox/react-native-mapbox-gl": "https://github.com/nitaliano/react-native-mapbox-gl#master"
Build Settings:
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
Description:
Getting the same dependency error as https://github.com/nitaliano/react-native-mapbox-gl/issues/1561.
I just wanted to know if the fix on that issue is merged on master or not. Because master doesn't work for me I get the dependency issues. If i copy what's on the other issue and paste it on node_modules, the app works fine.
Error:
Required by:
project :@mapbox_react-native-mapbox-gl > com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1
Cannot find a version of 'com.android.support:support-fragment' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-fragment' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-fragment' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-fragment' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-fragment' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Could not resolve com.squareup.okhttp3:okhttp:3.9.1.
Required by:
project :@mapbox_react-native-mapbox-gl > com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1
Cannot find a version of 'com.squareup.okhttp3:okhttp' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.squareup.okhttp3:okhttp:3.9.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.9' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.squareup.okhttp3:okhttp:3.9.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.facebook.fresco:imagepipeline-okhttp3:1.10.0' --> 'com.squareup.okhttp3:okhttp:3.10.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.squareup.okhttp3:okhttp-urlconnection:3.12.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-java-services:2.2.9' --> 'com.squareup.retrofit2:retrofit:2.2.0' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-java-services:2.2.9' --> 'com.squareup.okhttp3:logging-interceptor:3.6.0' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Could not resolve com.android.support:appcompat-v7:27.0.2.
Required by:
project :@mapbox_react-native-mapbox-gl > com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0
project :@mapbox_react-native-mapbox-gl > com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.3.0
Cannot find a version of 'com.android.support:appcompat-v7' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0' --> 'com.android.support:appcompat-v7:27.0.2'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.3.0' --> 'com.android.support:appcompat-v7:27.0.2'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.android.support:appcompat-v7:28.0.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.9' --> 'com.android.support:appcompat-v7:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapzen.android:lost:3.0.4' --> 'com.android.support:appcompat-v7:25.3.1'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Could not resolve com.android.support:appcompat-v7:28.0.0.
Required by:
project :@mapbox_react-native-mapbox-gl > com.facebook.react:react-native:0.59.1
Cannot find a version of 'com.android.support:appcompat-v7' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0' --> 'com.android.support:appcompat-v7:27.0.2'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.3.0' --> 'com.android.support:appcompat-v7:27.0.2'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.android.support:appcompat-v7:28.0.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.9' --> 'com.android.support:appcompat-v7:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapzen.android:lost:3.0.4' --> 'com.android.support:appcompat-v7:25.3.1'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Could not resolve com.squareup.okhttp3:okhttp:3.12.1.
Required by:
project :@mapbox_react-native-mapbox-gl > com.facebook.react:react-native:0.59.1
project :@mapbox_react-native-mapbox-gl > com.facebook.react:react-native:0.59.1 > com.squareup.okhttp3:okhttp-urlconnection:3.12.1
Cannot find a version of 'com.squareup.okhttp3:okhttp' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.squareup.okhttp3:okhttp:3.9.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.9' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.squareup.okhttp3:okhttp:3.9.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.facebook.fresco:imagepipeline-okhttp3:1.10.0' --> 'com.squareup.okhttp3:okhttp:3.10.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.squareup.okhttp3:okhttp-urlconnection:3.12.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-java-services:2.2.9' --> 'com.squareup.retrofit2:retrofit:2.2.0' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-java-services:2.2.9' --> 'com.squareup.okhttp3:logging-interceptor:3.6.0' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Could not resolve com.squareup.okio:okio:1.15.0.
Required by:
project :@mapbox_react-native-mapbox-gl > com.facebook.react:react-native:0.59.1
project :@mapbox_react-native-mapbox-gl > com.squareup.okhttp3:okhttp:3.12.1
Cannot find a version of 'com.squareup.okio:okio' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.squareup.okio:okio:1.15.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.squareup.okhttp3:okhttp:3.12.1' --> 'com.squareup.okio:okio:1.15.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okio:okio' strictly '1.13.0' because of the following reason: debugRuntimeClasspath uses version 1.13.0
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okio:okio' strictly '1.13.0' because of the following reason: debugRuntimeClasspath uses version 1.13.0
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okio:okio' strictly '1.13.0' because of the following reason: debugRuntimeClasspath uses version 1.13.0
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okio:okio' strictly '1.13.0' because of the following reason: debugRuntimeClasspath uses version 1.13.0
Could not resolve com.squareup.okhttp3:okhttp:3.6.0.
Required by:
project :@mapbox_react-native-mapbox-gl > com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.9
project :@mapbox_react-native-mapbox-gl > com.squareup.retrofit2:retrofit:2.2.0
project :@mapbox_react-native-mapbox-gl > com.squareup.okhttp3:logging-interceptor:3.6.0
Cannot find a version of 'com.squareup.okhttp3:okhttp' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.squareup.okhttp3:okhttp:3.9.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.9' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.squareup.okhttp3:okhttp:3.9.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.facebook.fresco:imagepipeline-okhttp3:1.10.0' --> 'com.squareup.okhttp3:okhttp:3.10.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.squareup.okhttp3:okhttp-urlconnection:3.12.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-java-services:2.2.9' --> 'com.squareup.retrofit2:retrofit:2.2.0' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-java-services:2.2.9' --> 'com.squareup.okhttp3:logging-interceptor:3.6.0' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Could not resolve com.android.support:appcompat-v7:25.3.1.
Required by:
project :@mapbox_react-native-mapbox-gl > com.mapzen.android:lost:3.0.4
Cannot find a version of 'com.android.support:appcompat-v7' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0' --> 'com.android.support:appcompat-v7:27.0.2'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.3.0' --> 'com.android.support:appcompat-v7:27.0.2'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.android.support:appcompat-v7:28.0.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.9' --> 'com.android.support:appcompat-v7:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapzen.android:lost:3.0.4' --> 'com.android.support:appcompat-v7:25.3.1'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:appcompat-v7' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Could not resolve com.android.support:support-core-utils:28.0.0.
Required by:
project :@mapbox_react-native-mapbox-gl > com.android.support:appcompat-v7:28.0.0
project :@mapbox_react-native-mapbox-gl > com.android.support:support-fragment:28.0.0
project :@mapbox_react-native-mapbox-gl > com.android.support:support-core-ui:28.0.0
Cannot find a version of 'com.android.support:support-core-utils' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-utils:28.0.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:support-core-utils:28.0.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-core-utils' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-core-utils' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-core-utils' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Could not resolve com.android.support:support-fragment:28.0.0.
Required by:
project :@mapbox_react-native-mapbox-gl > com.android.support:appcompat-v7:28.0.0
Cannot find a version of 'com.android.support:support-fragment' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:25.4.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-fragment' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-fragment' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-fragment' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-fragment' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Could not resolve com.android.support:support-vector-drawable:28.0.0.
Required by:
project :@mapbox_react-native-mapbox-gl > com.android.support:appcompat-v7:28.0.0
project :@mapbox_react-native-mapbox-gl > com.android.support:animated-vector-drawable:28.0.0
Cannot find a version of 'com.android.support:support-vector-drawable' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-vector-drawable:28.0.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:animated-vector-drawable:28.0.0' --> 'com.android.support:support-vector-drawable:28.0.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-vector-drawable' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-vector-drawable' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-vector-drawable' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Could not resolve com.android.support:animated-vector-drawable:28.0.0.
Required by:
project :@mapbox_react-native-mapbox-gl > com.android.support:appcompat-v7:28.0.0
Cannot find a version of 'com.android.support:animated-vector-drawable' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:animated-vector-drawable:28.0.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:animated-vector-drawable' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:animated-vector-drawable' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:animated-vector-drawable' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Could not resolve com.squareup.okhttp3:okhttp:3.10.0.
Required by:
project :@mapbox_react-native-mapbox-gl > com.facebook.react:react-native:0.59.1 > com.facebook.fresco:imagepipeline-okhttp3:1.10.0
Cannot find a version of 'com.squareup.okhttp3:okhttp' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.squareup.okhttp3:okhttp:3.9.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.9' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.squareup.okhttp3:okhttp:3.9.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.facebook.fresco:imagepipeline-okhttp3:1.10.0' --> 'com.squareup.okhttp3:okhttp:3.10.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.facebook.react:react-native:0.59.1' --> 'com.squareup.okhttp3:okhttp-urlconnection:3.12.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-java-services:2.2.9' --> 'com.squareup.retrofit2:retrofit:2.2.0' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.mapbox.mapboxsdk:mapbox-java-services:2.2.9' --> 'com.squareup.okhttp3:logging-interceptor:3.6.0' --> 'com.squareup.okhttp3:okhttp:3.6.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.9.1' because of the following reason: debugRuntimeClasspath uses version 3.9.1
Could not resolve android.arch.lifecycle:runtime:1.1.1.
Required by:
project :@mapbox_react-native-mapbox-gl > com.android.support:support-compat:28.0.0
Cannot find a version of 'android.arch.lifecycle:runtime' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'android.arch.lifecycle:runtime' strictly '1.0.3' because of the following reason: debugRuntimeClasspath uses version 1.0.3
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'android.arch.lifecycle:runtime' strictly '1.0.3' because of the following reason: debugRuntimeClasspath uses version 1.0.3
Could not resolve com.android.support:support-core-ui:28.0.0.
Required by:
project :@mapbox_react-native-mapbox-gl > com.android.support:support-fragment:28.0.0
project :@mapbox_react-native-mapbox-gl > com.android.support:animated-vector-drawable:28.0.0
Cannot find a version of 'com.android.support:support-core-ui' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:animated-vector-drawable:28.0.0' --> 'com.android.support:support-core-ui:28.0.0'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-core-ui' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.android.support:support-core-ui' strictly '27.0.2' because of the following reason: debugRuntimeClasspath uses version 27.0.2
Could not resolve android.arch.lifecycle:common:1.1.1.
Required by:
project :@mapbox_react-native-mapbox-gl > android.arch.lifecycle:runtime:1.1.1
project :@mapbox_react-native-mapbox-gl > com.android.support:support-fragment:28.0.0 > com.android.support:loader:28.0.0 > android.arch.lifecycle:livedata:1.1.1 > android.arch.lifecycle:livedata-core:1.1.1
Cannot find a version of 'android.arch.lifecycle:common' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.lifecycle:common:1.1.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.lifecycle:livedata-core:1.1.1' --> 'android.arch.lifecycle:common:1.1.1'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'android.arch.lifecycle:common' strictly '1.0.3' because of the following reason: debugRuntimeClasspath uses version 1.0.3
Could not resolve android.arch.core:common:1.1.1.
Required by:
project :@mapbox_react-native-mapbox-gl > android.arch.lifecycle:runtime:1.1.1
project :@mapbox_react-native-mapbox-gl > com.android.support:support-fragment:28.0.0 > com.android.support:loader:28.0.0 > android.arch.lifecycle:livedata:1.1.1
project :@mapbox_react-native-mapbox-gl > com.android.support:support-fragment:28.0.0 > com.android.support:loader:28.0.0 > android.arch.lifecycle:livedata:1.1.1 > android.arch.core:runtime:1.1.1
project :@mapbox_react-native-mapbox-gl > com.android.support:support-fragment:28.0.0 > com.android.support:loader:28.0.0 > android.arch.lifecycle:livedata:1.1.1 > android.arch.lifecycle:livedata-core:1.1.1
Cannot find a version of 'android.arch.core:common' that satisfies the version constraints:
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.core:common:1.1.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.core:common:1.1.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.core:runtime:1.1.1' --> 'android.arch.core:common:1.1.1'
Dependency path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.lifecycle:livedata-core:1.1.1' --> 'android.arch.core:common:1.1.1'
Constraint path 'App:@mapbox_react-native-mapbox-gl:unspecified' --> 'android.arch.core:common' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0
My env: "react-native": "0.59", "@mapbox/react-native-mapbox-gl": "https://github.com/nitaliano/react-native-mapbox-gl#master" Build Settings: buildToolsVersion = "28.0.3" minSdkVersion = 16 compileSdkVersion = 28 targetSdkVersion = 28 supportLibVersion = "28.0.0" Description: Getting the same dependency error as https://github.com/nitaliano/react-native-mapbox-gl/issues/1561. I just wanted to know if the fix on that issue is merged on master or not. Because master doesn't work for me I get the dependency issues. If i copy what's on the other issue and paste it on node_modules, the app works fine. Error: