wix / Detox

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

Detox build fails on Android (Cannot find version of 'androidx.annotation.annotation') #1583

Closed erksch closed 5 years ago

erksch commented 5 years ago

Hello there! I have the same issue as in this one but it was closed and locked by the bot. The solution the author described does not work for me because setting the version of androidx.annotation:annotation breaks other dependencies.

To Reproduce

Expected behavior

Build runs successfully.

Environment

Logs

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:preDebugAndroidTestBuild'.
> Could not resolve all task dependencies for configuration ':app:debugAndroidTestRuntimeClasspath'.
   > Could not resolve androidx.annotation:annotation:{strictly 1.0.0}.
     Required by:
         project :app
      > Cannot find a version of 'androidx.annotation:annotation' that satisfies the version constraints: 
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.annotation:annotation:1.1.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test:runner:1.1.1' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test.ext:junit:1.1.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test:runner:1.1.1' --> 'androidx.test:monitor:1.1.1' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test.ext:junit:1.1.0' --> 'androidx.test:core:1.1.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.media:media:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.1' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.collection:collection:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.cursoradapter:cursoradapter:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.vectordrawable:vectordrawable:1.0.1' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test.ext:junit:1.1.0' --> 'androidx.test:core:1.1.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.media:media:1.0.0' --> 'androidx.versionedparcelable:versionedparcelable:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.documentfile:documentfile:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.print:print:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.drawerlayout:drawerlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.interpolator:interpolator:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.1' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.1' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0' --> 'androidx.arch.core:core-common:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'

   > Could not resolve androidx.annotation:annotation:1.1.0.
     Required by:
         project :app > com.wix:detox:14.0.0
      > Cannot find a version of 'androidx.annotation:annotation' that satisfies the version constraints: 
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.annotation:annotation:1.1.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test:runner:1.1.1' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test.ext:junit:1.1.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test:runner:1.1.1' --> 'androidx.test:monitor:1.1.1' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test.ext:junit:1.1.0' --> 'androidx.test:core:1.1.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.media:media:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.1' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.collection:collection:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.cursoradapter:cursoradapter:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.vectordrawable:vectordrawable:1.0.1' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test.ext:junit:1.1.0' --> 'androidx.test:core:1.1.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.media:media:1.0.0' --> 'androidx.versionedparcelable:versionedparcelable:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.documentfile:documentfile:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.print:print:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.drawerlayout:drawerlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.interpolator:interpolator:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.1' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.1' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0' --> 'androidx.arch.core:core-common:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'

   > Could not resolve androidx.annotation:annotation:1.0.0.
     Required by:
         project :app > com.wix:detox:14.0.0 > androidx.test:runner:1.1.1
         project :app > com.wix:detox:14.0.0 > androidx.test.ext:junit:1.1.0
         project :app > androidx.appcompat:appcompat:1.0.2
         project :app > com.wix:detox:14.0.0 > androidx.test:runner:1.1.1 > androidx.test:monitor:1.1.1
         project :app > com.wix:detox:14.0.0 > androidx.test.ext:junit:1.1.0 > androidx.test:core:1.1.0
         project :app > androidx.media:media:1.0.0
         project :app > androidx.legacy:legacy-support-core-utils:1.0.0
         project :app > androidx.legacy:legacy-support-core-ui:1.0.0
         project :app > androidx.fragment:fragment:1.0.0
         project :app > androidx.core:core:1.0.1
         project :app > androidx.collection:collection:1.0.0
         project :app > androidx.cursoradapter:cursoradapter:1.0.0
         project :app > androidx.vectordrawable:vectordrawable:1.0.1
         project :app > androidx.lifecycle:lifecycle-common:2.0.0
         project :app > androidx.versionedparcelable:versionedparcelable:1.0.0
         project :app > androidx.documentfile:documentfile:1.0.0
         project :app > androidx.loader:loader:1.0.0
         project :app > androidx.localbroadcastmanager:localbroadcastmanager:1.0.0
         project :app > androidx.print:print:1.0.0
         project :app > androidx.customview:customview:1.0.0
         project :app > androidx.viewpager:viewpager:1.0.0
         project :app > androidx.coordinatorlayout:coordinatorlayout:1.0.0
         project :app > androidx.drawerlayout:drawerlayout:1.0.0
         project :app > androidx.slidingpanelayout:slidingpanelayout:1.0.0
         project :app > androidx.interpolator:interpolator:1.0.0
         project :app > androidx.swiperefreshlayout:swiperefreshlayout:1.0.0
         project :app > androidx.asynclayoutinflater:asynclayoutinflater:1.0.0
         project :app > androidx.lifecycle:lifecycle-viewmodel:2.0.0
         project :app > androidx.lifecycle:lifecycle-runtime:2.0.0
         project :app > androidx.arch.core:core-common:2.0.0
         project :app > androidx.arch.core:core-runtime:2.0.0
      > Cannot find a version of 'androidx.annotation:annotation' that satisfies the version constraints: 
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.annotation:annotation:1.1.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test:runner:1.1.1' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test.ext:junit:1.1.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test:runner:1.1.1' --> 'androidx.test:monitor:1.1.1' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test.ext:junit:1.1.0' --> 'androidx.test:core:1.1.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.media:media:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.1' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.collection:collection:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.cursoradapter:cursoradapter:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'com.facebook.react:react-native:0.60.4' --> 'androidx.appcompat:appcompat:1.0.2' --> 'androidx.vectordrawable:vectordrawable:1.0.1' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'com.wix:detox:14.0.0' --> 'androidx.test.ext:junit:1.1.0' --> 'androidx.test:core:1.1.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.media:media:1.0.0' --> 'androidx.versionedparcelable:versionedparcelable:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.documentfile:documentfile:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.print:print:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.drawerlayout:drawerlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.interpolator:interpolator:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.fragment:fragment:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.1' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Constraint path 'desicna:app:unspecified' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.core:core:1.0.1' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0' --> 'androidx.arch.core:core-common:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
           Dependency path 'desicna:app:unspecified' --> 'desicna:react-native-firebase:unspecified' --> 'androidx.legacy:legacy-support-v4:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'
ReshmiCode commented 5 years ago

Would https://github.com/wix/Detox/issues/1534#issuecomment-512270679 work for you?

erksch commented 5 years ago

Awesome! Thank you for the link. And sorry for my lousy research.