My project is using android-gradle-build and I can do sbt app/android:test without problem. However, after I setup protify, I got the error ... Testing failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException ... when running sbt app/android:test and in logcat:
java.lang.RuntimeException: Unable to instantiate instrumentation ComponentInfo{com.sightrepo.android/com.android.test.runner.MultiDexTestRunner}: java.lang.ClassNotFoundException: Didn't find class "com.android.test.runner.MultiDexTestRunner" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.my.package-2/base.apk", zip file "/data/app/com.my.package-2/base.apk"],nativeLibraryDirectories=[/data/app/com.my.package-2/lib/x86, /data/app/com.my.package-2/lib/x86, /vendor/lib, /system/lib]]
Hi there,
My project is using
android-gradle-build
and I can dosbt app/android:test
without problem. However, after I setupprotify
, I got the error... Testing failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException ...
when runningsbt app/android:test
and in logcat:See https://github.com/pfn/android-sdk-plugin/issues/232 for my build setup.