-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
When I run connectedAndroidTest on either a emulator or physical device running 4.4, the tests fail due to a ClassNotFoundException. However, when I run connectedAndroidTest against an emulator running Lollipop, the tests work as expected and are successful.
Have you had success running the tests on a KitKat device or emulator?
Other details:
- Emulator is running the x86 image
- KitKat device is running the Dalvik runtime
- Running the tests with the gradle wrapper.
- Android Studio v1.0.2
Here is the output from the failing tests.
Tests on Nexus_5_API_19(AVD) - 4.4.2 failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'
com.android.builder.testing.ConnectedDevice > hasTests[Nexus_5_API_19(AVD) - 4.4.2] FAILED
No tests found.
Tests on XT1060 - 4.4.4 failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'
com.android.builder.testing.ConnectedDevice > hasTests[XT1060 - 4.4.4] FAILED
No tests found.
:app:connectedAndroidTest FAILED
FAILURE: Build failed with an exception.
Metadata
Metadata
Assignees
Labels
No labels