Я следил за руководством по эспрессо от raywenderlich. , и он хорошо работает на Pixel 4:
$ ./gradlew connectedAndroidTest
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
> Configure project :app
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
> Task :app:connectedDebugAndroidTest
Starting 2 tests on Pixel 4 - 11
BUILD SUCCESSFUL in 59s
52 actionable tasks: 23 executed, 29 up-to-date
Но когда я попытался запустить Huawei Mate 20pro (EMUI 10.1.0), он просто застрял:
$ ./gradlew connectedAndroidTest
> Configure project :app
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
> Task :app:connectedDebugAndroidTest
Starting 2 tests on LYA-AL00 - 10
<============-> 97% EXECUTING [3m 44s]
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> :app:connectedDebugAndroidTest
> IDLE
> IDLE
И получил такой же статус на стороне студии Android:
Просто интересно, есть ли что-нибудь, что я пропустил в телефоне Huawei?