Fixed
Status Update
Comments
il...@google.com <il...@google.com>
hu...@google.com <hu...@google.com>
[Deleted User] <[Deleted User]> #2
A workaround is to add this to your dependencies {}:
constraints {
implementation("androidx.test:core:1.2.0")
implementation("androidx.test:monitor:1.2.0")
}
constraints {
implementation("androidx.test:core:1.2.0")
implementation("androidx.test:monitor:1.2.0")
}
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-master-dev
commit beef8eddaef3b085aa22a1a967bde3ccd335a96d
Author: Ian Lake <ilake@google.com>
Date: Tue Sep 24 13:17:03 2019
Upgrade to latest stable androidx.test libraries
Use AndroidX Test 1.2.0 and AndroidX Test Ext 1.1.1.
Test: ./gradlew bOS
Fixes: 139100149
Change-Id: Ic2f335ee9edb13f259038c68c3ef11216746659f
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
https://android-review.googlesource.com/1126812
https://goto.google.com/android-sha1/beef8eddaef3b085aa22a1a967bde3ccd335a96d
Branch: androidx-master-dev
commit beef8eddaef3b085aa22a1a967bde3ccd335a96d
Author: Ian Lake <ilake@google.com>
Date: Tue Sep 24 13:17:03 2019
Upgrade to latest stable androidx.test libraries
Use AndroidX Test 1.2.0 and AndroidX Test Ext 1.1.1.
Test: ./gradlew bOS
Fixes: 139100149
Change-Id: Ic2f335ee9edb13f259038c68c3ef11216746659f
M buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
il...@google.com <il...@google.com> #4
The next release of Fragments (1.2.0-beta01) will also upgrade fragment-testing to depend on AndroidX Test 1.2.0
Description
Version used: 1.2.0-alpha02
I can't use fragment-testing 1.2.0-x or 1.1.0-x with the latest espresso release (3.2.0) because of a strict depedency on androidx.test:core:1.1.0.
This is the error message from gradle:
Cannot find a version of 'androidx.test:core' that satisfies the version constraints:
Dependency path 'myappname:app:unspecified' --> 'androidx.test.espresso:espresso-intents:3.2.0' --> 'androidx.test:core:1.2.0'
Constraint path 'myappname:app:unspecified' --> 'androidx.test:core:{strictly 1.1.0}' because of the following reason: debugRuntimeClasspath uses version 1.1.0
Dependency path 'myappname:app:unspecified' --> 'androidx.fragment:fragment-testing:1.2.0-alpha02' --> 'androidx.test:core:1.1.0'