Pārlūkot izejas kodu

disable uiAutomator (for now)

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 6 gadi atpakaļ
vecāks
revīzija
478fccf6a1
2 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 1 1
      build.gradle
  2. 5 5
      src/androidTest/AndroidManifest.xml

+ 1 - 1
build.gradle

@@ -255,7 +255,7 @@ dependencies {
     androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
     androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
     androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.1.0'
     androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.1.0'
     // UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
     // UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
-    androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
+    // androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
     // fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
     // fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
     //androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
     //androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
     implementation 'org.jetbrains:annotations:16.0.3'
     implementation 'org.jetbrains:annotations:16.0.3'

+ 5 - 5
src/androidTest/AndroidManifest.xml

@@ -25,8 +25,8 @@
     the normal release/debug builds.
     the normal release/debug builds.
 -->
 -->
 
 
-<manifest
-    package="${applicationId}.test"
-    xmlns:tools="http://schemas.android.com/tools">
-    <uses-sdk tools:overrideLibrary="android.support.test.uiautomator.v18"/>
-</manifest>
+<manifest xmlns:tools="http://schemas.android.com/tools"
+    package="${applicationId}.test">
+
+    <uses-sdk tools:overrideLibrary="android_libs.ub_uiautomator" />
+</manifest>