diff --git a/android-interop-testing/app/build.gradle b/android-interop-testing/app/build.gradle index f20ab5d72c..0b0a6611d7 100644 --- a/android-interop-testing/app/build.gradle +++ b/android-interop-testing/app/build.gradle @@ -25,7 +25,7 @@ android { targetSdkVersion 26 versionCode 1 versionName "1.0" - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true } buildTypes { @@ -80,8 +80,8 @@ dependencies { // workaround for https://github.com/google/protobuf/issues/1889 protobuf 'com.google.protobuf:protobuf-java:3.0.2' - androidTestImplementation 'com.android.support.test:rules:1.0.1' - androidTestImplementation 'com.android.support.test:runner:1.0.1' + androidTestImplementation 'androidx.test:rules:1.1.0-alpha1' + androidTestImplementation 'androidx.test:runner:1.1.0-alpha1' } gradle.projectsEvaluated { diff --git a/android-interop-testing/app/src/androidTest/AndroidManifest.xml b/android-interop-testing/app/src/androidTest/AndroidManifest.xml index 98447551fa..340300c4c5 100644 --- a/android-interop-testing/app/src/androidTest/AndroidManifest.xml +++ b/android-interop-testing/app/src/androidTest/AndroidManifest.xml @@ -8,7 +8,7 @@ android:targetSdkVersion="22"/> diff --git a/android-interop-testing/app/src/androidTest/java/io/grpc/android/integrationtest/InteropInstrumentationTest.java b/android-interop-testing/app/src/androidTest/java/io/grpc/android/integrationtest/InteropInstrumentationTest.java index f156025da5..28a637c5b4 100644 --- a/android-interop-testing/app/src/androidTest/java/io/grpc/android/integrationtest/InteropInstrumentationTest.java +++ b/android-interop-testing/app/src/androidTest/java/io/grpc/android/integrationtest/InteropInstrumentationTest.java @@ -18,10 +18,10 @@ package io.grpc.android.integrationtest; import static junit.framework.Assert.assertEquals; -import android.support.test.InstrumentationRegistry; -import android.support.test.rule.ActivityTestRule; -import android.support.test.runner.AndroidJUnit4; import android.util.Log; +import androidx.test.InstrumentationRegistry; +import androidx.test.rule.ActivityTestRule; +import androidx.test.runner.AndroidJUnit4; import com.google.android.gms.common.GooglePlayServicesNotAvailableException; import com.google.android.gms.common.GooglePlayServicesRepairableException; import com.google.android.gms.security.ProviderInstaller;