wix / Detox

Gray box end-to-end testing and automation framework for mobile apps
https://wix.github.io/Detox/
MIT License
11.14k stars 1.92k forks source link

ANDROID ONLY: Errors syncing android project with dependencies for react native 0.58.3 and detox #1156

Closed 814k31 closed 5 years ago

814k31 commented 5 years ago

Description

Gradle is having trouble resolving dependencies due to conflicts with versions. List of packages:

  1. com.android.support:support-annotations:27.1.1
  2. com.squareup.okhttp3:okhttp:3.4.1
  3. com.squareup.okio:okio:1.9.0
  4. com.squareup.okhttp3:okhttp:3.4.1
  5. com.squareup.okhttp3:okhttp:3.12.1
  6. com.squareup.okio:okio:1.15.0
  7. com.android.support:support-annotations:27.1.1 (...again I guess, I'm just following log list)
  8. com.android.support:support-annotations:28.0.0
  9. com.squareup.okhttp3:okhttp:3.10.0
  10. com.android.support:support-annotations:26.1.0

Steps to Reproduce

Create a new project using react-native init Follow instructions to install on android https://github.com/wix/Detox/blob/master/docs/Introduction.Android.md

Detox, Node, Device, Xcode and macOS Versions

Could not resolve com.squareup.okhttp3:okhttp:3.4.1. Required by: project :detox Cannot find a version of 'com.squareup.okhttp3:okhttp' that satisfies the version constraints: Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp:3.12.1' Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp-ws:3.4.1' --> 'com.squareup.okhttp3:okhttp:3.4.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.facebook.fresco:imagepipeline-okhttp3:1.10.0' --> 'com.squareup.okhttp3:okhttp:3.10.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp-urlconnection:3.12.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'

Could not resolve com.squareup.okio:okio:1.9.0. Required by: project :detox Cannot find a version of 'com.squareup.okio:okio' that satisfies the version constraints: Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okio:okio:1.15.0' Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.12.1' --> 'com.squareup.okio:okio:1.15.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp:3.12.1' --> 'com.squareup.okio:okio:1.15.0' Constraint path ':detox:unspecified' --> 'com.squareup.okio:okio' strictly '1.9.0' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 1.9.0 Constraint path ':detox:unspecified' --> 'com.squareup.okio:okio' strictly '1.9.0' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 1.9.0

Could not resolve com.squareup.okhttp3:okhttp:3.4.1. Required by: project :detox project :detox > com.squareup.okhttp3:okhttp-ws:3.4.1 Cannot find a version of 'com.squareup.okhttp3:okhttp' that satisfies the version constraints: Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp:3.12.1' Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp-ws:3.4.1' --> 'com.squareup.okhttp3:okhttp:3.4.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.facebook.fresco:imagepipeline-okhttp3:1.10.0' --> 'com.squareup.okhttp3:okhttp:3.10.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp-urlconnection:3.12.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'

Could not resolve com.squareup.okhttp3:okhttp:3.12.1. Required by: project :detox > com.facebook.react:react-native:0.58.3 project :detox > com.facebook.react:react-native:0.58.3 > com.squareup.okhttp3:okhttp-urlconnection:3.12.1 Cannot find a version of 'com.squareup.okhttp3:okhttp' that satisfies the version constraints: Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp:3.12.1' Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp-ws:3.4.1' --> 'com.squareup.okhttp3:okhttp:3.4.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.facebook.fresco:imagepipeline-okhttp3:1.10.0' --> 'com.squareup.okhttp3:okhttp:3.10.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp-urlconnection:3.12.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'

Could not resolve com.squareup.okio:okio:1.15.0. Required by: project :detox > com.facebook.react:react-native:0.58.3 project :detox > com.squareup.okhttp3:okhttp:3.12.1 Cannot find a version of 'com.squareup.okio:okio' that satisfies the version constraints: Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okio:okio:1.15.0' Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.12.1' --> 'com.squareup.okio:okio:1.15.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp:3.12.1' --> 'com.squareup.okio:okio:1.15.0' Constraint path ':detox:unspecified' --> 'com.squareup.okio:okio' strictly '1.9.0' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 1.9.0 Constraint path ':detox:unspecified' --> 'com.squareup.okio:okio' strictly '1.9.0' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 1.9.0

Could not resolve com.android.support:support-annotations:27.1.1. Required by: project :detox > com.android.support.test:runner:1.0.2 project :detox > com.android.support.test:monitor:1.0.2 Cannot find a version of 'com.android.support:support-annotations' that satisfies the version constraints: Dependency path ':detox:unspecified' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.android.support.test.espresso:espresso-core:3.0.2' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Dependency path ':detox:unspecified' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support.test:monitor:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:collections:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:cursoradapter:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-vector-drawable:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'com.android.support:versionedparcelable:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:documentfile:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:localbroadcastmanager:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:print:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'android.arch.lifecycle:viewmodel:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.lifecycle:common:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.core:common:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:customview:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:viewpager:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:coordinatorlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:drawerlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:slidingpanelayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:interpolator:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:swiperefreshlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:asynclayoutinflater:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.core:runtime:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Constraint path ':detox:unspecified' --> 'com.android.support:support-annotations' strictly '27.1.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 27.1.1 Constraint path ':detox:unspecified' --> 'com.android.support:support-annotations' strictly '27.1.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 27.1.1

Could not resolve com.android.support:support-annotations:28.0.0. Required by: project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-compat:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:collections:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:cursoradapter:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-core-utils:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-vector-drawable:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-compat:28.0.0 > com.android.support:versionedparcelable:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-core-utils:28.0.0 > com.android.support:documentfile:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-core-utils:28.0.0 > com.android.support:loader:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-core-utils:28.0.0 > com.android.support:localbroadcastmanager:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-core-utils:28.0.0 > com.android.support:print:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > com.android.support:support-core-ui:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > com.android.support:support-core-ui:28.0.0 > com.android.support:customview:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > com.android.support:support-core-ui:28.0.0 > com.android.support:viewpager:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > com.android.support:support-core-ui:28.0.0 > com.android.support:coordinatorlayout:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > com.android.support:support-core-ui:28.0.0 > com.android.support:drawerlayout:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > com.android.support:support-core-ui:28.0.0 > com.android.support:slidingpanelayout:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > com.android.support:support-core-ui:28.0.0 > com.android.support:interpolator:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > com.android.support:support-core-ui:28.0.0 > com.android.support:swiperefreshlayout:28.0.0 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > com.android.support:support-core-ui:28.0.0 > com.android.support:asynclayoutinflater:28.0.0 Cannot find a version of 'com.android.support:support-annotations' that satisfies the version constraints: Dependency path ':detox:unspecified' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.android.support.test.espresso:espresso-core:3.0.2' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Dependency path ':detox:unspecified' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support.test:monitor:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:collections:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:cursoradapter:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-vector-drawable:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'com.android.support:versionedparcelable:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:documentfile:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:localbroadcastmanager:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:print:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'android.arch.lifecycle:viewmodel:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.lifecycle:common:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.core:common:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:customview:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:viewpager:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:coordinatorlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:drawerlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:slidingpanelayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:interpolator:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:swiperefreshlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:asynclayoutinflater:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.core:runtime:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Constraint path ':detox:unspecified' --> 'com.android.support:support-annotations' strictly '27.1.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 27.1.1 Constraint path ':detox:unspecified' --> 'com.android.support:support-annotations' strictly '27.1.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 27.1.1

Could not resolve com.squareup.okhttp3:okhttp:3.10.0. Required by: project :detox > com.facebook.react:react-native:0.58.3 > com.facebook.fresco:imagepipeline-okhttp3:1.10.0 Cannot find a version of 'com.squareup.okhttp3:okhttp' that satisfies the version constraints: Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Constraint path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp' strictly '3.4.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 3.4.1 Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp:3.4.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp:3.12.1' Dependency path ':detox:unspecified' --> 'com.squareup.okhttp3:okhttp-ws:3.4.1' --> 'com.squareup.okhttp3:okhttp:3.4.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.facebook.fresco:imagepipeline-okhttp3:1.10.0' --> 'com.squareup.okhttp3:okhttp:3.10.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.squareup.okhttp3:okhttp-urlconnection:3.12.1' --> 'com.squareup.okhttp3:okhttp:3.12.1'

Could not resolve com.android.support:support-annotations:26.1.0. Required by: project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-compat:28.0.0 > android.arch.lifecycle:runtime:1.1.1 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-fragment:28.0.0 > android.arch.lifecycle:viewmodel:1.1.1 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-compat:28.0.0 > android.arch.lifecycle:runtime:1.1.1 > android.arch.lifecycle:common:1.1.1 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-compat:28.0.0 > android.arch.lifecycle:runtime:1.1.1 > android.arch.core:common:1.1.1 project :detox > com.facebook.react:react-native:0.58.3 > com.android.support:appcompat-v7:28.0.0 > com.android.support:support-core-utils:28.0.0 > com.android.support:loader:28.0.0 > android.arch.lifecycle:livedata:1.1.1 > android.arch.core:runtime:1.1.1 Cannot find a version of 'com.android.support:support-annotations' that satisfies the version constraints: Dependency path ':detox:unspecified' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.android.support.test.espresso:espresso-core:3.0.2' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Dependency path ':detox:unspecified' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support.test:monitor:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:collections:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:cursoradapter:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-vector-drawable:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'com.android.support:versionedparcelable:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:documentfile:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:localbroadcastmanager:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:print:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'android.arch.lifecycle:viewmodel:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.lifecycle:common:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.core:common:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:customview:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:viewpager:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:coordinatorlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:drawerlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:slidingpanelayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:interpolator:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:swiperefreshlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:asynclayoutinflater:28.0.0' --> 'com.android.support:support-annotations:28.0.0' Dependency path ':detox:unspecified' --> 'com.facebook.react:react-native:0.58.3' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.core:runtime:1.1.1' --> 'com.android.support:support-annotations:26.1.0' Constraint path ':detox:unspecified' --> 'com.android.support:support-annotations' strictly '27.1.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 27.1.1 Constraint path ':detox:unspecified' --> 'com.android.support:support-annotations' strictly '27.1.1' because of the following reason: minReactNative44DebugRuntimeClasspath uses version 27.1.1

814k31 commented 5 years ago

Changing my gradle dependency in my project/build.gradle from com.android.tools.build:gradle:3.3.0 to com.android.tools.build:gradle:3.2.1 seemed to fix it...