-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
There's an issue with latest version of AndroidX Test Runner dependency:
2021-08-06 11:07:38.797 7094-7114/dev.zawadzki.idlingresourceplayground E/AndroidRuntime: FATAL EXCEPTION: Instr: dev.zawadzki.idlingresourceplayground.MyAndroidJUnitRunner
Process: dev.zawadzki.idlingresourceplayground, PID: 7094
de.jodamob.reflect.SuperReflectException: de.jodamob.reflect.SuperReflectException: java.lang.NoSuchFieldException: orchestratorListener
at de.jodamob.reflect.SuperReflect.field(SuperReflect.java:296)
at de.jodamob.reflect.SuperReflect.get(SuperReflect.java:275)
at com.stepstone.xrunner.AndroidJUnitXRunner.onStart(AndroidJUnitXRunner.kt:64)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1837)
Caused by: de.jodamob.reflect.SuperReflectException: java.lang.NoSuchFieldException: orchestratorListener
at de.jodamob.reflect.SuperReflect.field0(SuperReflect.java:320)
at de.jodamob.reflect.SuperReflect.field(SuperReflect.java:292)
at de.jodamob.reflect.SuperReflect.get(SuperReflect.java:275)
at com.stepstone.xrunner.AndroidJUnitXRunner.onStart(AndroidJUnitXRunner.kt:64)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1837)
Caused by: java.lang.NoSuchFieldException: orchestratorListener
at java.lang.Class.getField(Class.java:1048)
at de.jodamob.reflect.SuperReflect.field0(SuperReflect.java:305)
at de.jodamob.reflect.SuperReflect.field(SuperReflect.java:292)
at de.jodamob.reflect.SuperReflect.get(SuperReflect.java:275)
at com.stepstone.xrunner.AndroidJUnitXRunner.onStart(AndroidJUnitXRunner.kt:64)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1837)
Apparently, the internals of AndroidJUnitRunner have changed and the reflection we used no longer works.
Metadata
Metadata
Assignees
Labels
No labels