努力通过以下设置来运行我的Android测试;
应用启动并尝试运行DetoxTest.java
时死亡;
2019-05-23 18:25:55.936 4758-4905/? E/AndroidRuntime: FATAL EXCEPTION: com.wix.detox.manager
Process: eu.candide.app, PID: 4758
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Lambda;
at com.wix.detox.ReactNativeSupport.setupEspressoIdlingResources(ReactNativeSupport.java:188)
at com.wix.detox.ReactNativeSupport.waitForReactNativeLoad(ReactNativeSupport.java:173)
at com.wix.detox.ReactNativeCompat.waitForReactNativeLoad(ReactNativeCompat.java:33)
at com.wix.detox.DetoxManager.initReactNativeIfNeeded(DetoxManager.java:121)
at com.wix.detox.DetoxManager.start(DetoxManager.java:66)
at com.wix.detox.Detox$1$1.run(Detox.java:133)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at com.wix.detox.Detox$1.run(Detox.java:136)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Lambda" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/android.test.mock.jar", zip file "/data/app/eu.candide.app.test-HBmvi9sEWxrbf39eZladhg==/base.apk", zip file "/data/app/eu.candide.app-l2ODpnC61wyY6puMb6lJBw==/base.apk"],nativeLibraryDirectories=[/data/app/eu.candide.app.test-HBmvi9sEWxrbf39eZladhg==/lib/x86, /data/app/eu.candide.app-l2ODpnC61wyY6puMb6lJBw==/lib/x86, /data/app/eu.candide.app.test-HBmvi9sEWxrbf39eZladhg==/base.apk!/lib/x86, /data/app/eu.candide.app-l2ODpnC61wyY6puMb6lJBw==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
有人有什么建议可能有什么问题吗?为了确保一切正确,我现在已经使用入门指南大约十次了。