Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I was following the espresso guide by raywenderlich, and it works well on 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

But when I tried to run in Huawei Mate 20pro(EMUI 10.1.0), it just got stuck:

 $ ./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

And got the same status on Android studio's side: enter image description here

Just wondering is there anything that I missed on Huawei's phone?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
502 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...