大家好,我是使用 firebase 实验室测试的新手,我正在尝试进行 Robo 测试,我已经上传了 apk,但是它不断崩溃它给我的错误,它没有重新识别项目中的 APP 文件,我已经测试了我的应用程序在具有不同 API 和公司(HTC、三星)的 3 种不同物理设备上运行良好。
这是一个完整的测试问题。
FATAL EXCEPTION: main
Process: com.example.mol.saherproject, PID: 8122
java.lang.RuntimeException: Unable to instantiate application com.example.mol.saherproject.settings.APP: java.lang.ClassNotFoundException: Didn't find class "com.example.mol.saherproject.settings.APP" on path: DexPathList[[zip file "/data/app/com.example.mol.saherproject-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.mol.saherproject-1/lib/arm, /vendor/lib, /system/lib]]
at android.app.LoadedApk.makeApplication(LoadedApk.java:578)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4680)
at android.app.ActivityThread.-wrap1(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.mol.saherproject.settings.APP" on path: DexPathList[[zip file "/data/app/com.example.mol.saherproject-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.mol.saherproject-1/lib/arm, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at android.app.Instrumentation.newApplication(Instrumentation.java:981)
at android.app.LoadedApk.makeApplication(LoadedApk.java:573)
... 9 more
Suppressed: java.lang.ClassNotFoundException: com.example.mol.saherproject.settings.APP
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 12 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
任何帮助请...