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
Follow Android setup guide
Run detox build -c android.emu.debug
Expected behavior
Build runs successfully.
Environment
Detox: 14.0.0
React Native: 0.60.4
Node: 10.14.2
Device: Android Emulator Nexus_5X_API_28_x86
OS: Ubuntu Linux
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'
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
detox build -c android.emu.debug
Expected behavior
Build runs successfully.
Environment
Logs