You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android Test orchestrator not working. Only got fatal exception on logcat:
--------- beginning of crash
2022-08-31 09:49:21.213 20074-20074/? E/AndroidRuntime: FATAL EXCEPTION: main
PID: 20074
java.lang.IllegalStateException: Call to getContentProviderExternal for: androidx_test_services.speak_easy returns null!
at androidx.test.services.speakeasy.client.ToolConnection$ToolConnectionPostIcs.doCall(ToolConnection.java:25)
at androidx.test.services.speakeasy.client.ToolConnection.publish(ToolConnection.java:6)
at androidx.test.services.speakeasy.client.ToolConnection.publish(ToolConnection.java:1)
at androidx.test.services.shellexecutor.BlockingPublish.getResult(BlockingPublish.java:2)
at androidx.test.services.shellexecutor.ShellCommandExecutorServer.start(ShellCommandExecutorServer.java:6)
at androidx.test.services.shellexecutor.ShellMain.main(ShellMain.java:2)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:378)
2022-08-31 09:49:21.214 20074-20074/? E/AndroidRuntime: Error reporting crash
java.lang.RuntimeException: Bad file descriptor
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:635)
at android.app.IActivityManager$Stub$Proxy.handleApplicationCrash(IActivityManager.java:6290)
at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:176)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
at java.lang.Thread.dispatchUncaughtException(Thread.java:2200)
Steps to Reproduce
Turn on test orchestrator on build.gradle, and run the test.
// To use the androidx.test.core APIs
androidTestImplementation("androidx.test:core:1.4.0")
// Kotlin extensions for androidx.test.core
androidTestImplementation("androidx.test:core-ktx:1.4.0")
// To use the androidx.test.espresso// androidTestImplementation("androidx.test:espresso:espresso-core:3.4.0")// To use the JUnit Extension APIs
androidTestImplementation("androidx.test.ext:junit:1.1.3")
// Kotlin extensions for androidx.test.ext.junit
androidTestImplementation("androidx.test.ext:junit-ktx:1.1.3")
// To use the Truth Extension APIs
androidTestImplementation("androidx.test.ext:truth:1.4.0")
// To use the androidx.test.runner APIs
androidTestImplementation("androidx.test:runner:1.4.0")
// To use android test orchestrator
androidTestUtil("androidx.test:orchestrator:1.4.1")
Device
Model name: Galaxy Tab A7
Model number: SM-T500
Android OS: 12
The text was updated successfully, but these errors were encountered:
Description
Android Test orchestrator not working. Only got fatal exception on logcat:
Steps to Reproduce
Turn on test orchestrator on
build.gradle
, and run the test.Expected Results
The test run.
Actual Results
Nothing happened but got fatal logs.

AndroidX Test and Android OS Versions
Android Studio
Dependencies
Device
Model name: Galaxy Tab A7
Model number: SM-T500
Android OS: 12
The text was updated successfully, but these errors were encountered: