Your data. Anywhere you go.

New Relic for iOS or Android

Download on the App Store    Android App on Google play

New Relic Insights App for iOS

Download on the App Store

Learn more

Close icon

Crash in test.apk (TestRunner) using Espresso using Android 5.21.3


 Caused by: java.lang.ClassNotFoundException: Didn't find class "" on path: DexPathList[[zip file "/system/framework/android.test.mock.jar", zip file "/system/framework/android.test.runner.jar", zip file "/data/app/"],nativeLibraryDirectories=[/data/app/, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    		... 15 more

When my emulator starts up to run Espresso tests, I get a crash in the Test APK , not the APK under test. This is highly unusual because we aren’t using NewRelic at all in the tests. Any information on how to debug this would be awesome.


Hi Mark,

I see you have already opened a support ticket with us regarding this issue. We look forward to working with you on the issue there.