You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
您好,Monkey选择Fastbot-Android引擎运行报错:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/GsonBuilder; at com.android.commands.monkey.fastbot.client.GsonIface.(SourceFile:28) at com.android.commands.monkey.fastbot.client.Operate.fromJson(SourceFile:54) at com.bytedance.fastbot.AiClient.l(SourceFile:1137) at com.android.commands.monkey.x.z(SourceFile:848) at com.android.commands.monkey.x.k(SourceFile:395) at com.android.commands.monkey.Monkey.f(SourceFile:1510) at com.android.commands.monkey.Monkey.a(SourceFile:867) at com.android.commands.monkey.Monkey.main(SourceFile:458) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:371) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.gson.GsonBuilder" on path: DexPathList[[zip file "/sdcard/monkeyq.jar", zip file "/sdcard/framework.jar"],nativeLibraryDirectories=[/system/lib64, /product/lib64, /system/lib64, /product/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 10 more
The text was updated successfully, but these errors were encountered:
jinghuichou
changed the title
Monkey选择Fastbot-Android引擎运行报错
Monkey选择Fastbot-Android引擎运行报错java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/GsonBuilder;
Dec 24, 2021
您好,Monkey选择Fastbot-Android引擎运行报错:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/GsonBuilder; at com.android.commands.monkey.fastbot.client.GsonIface.(SourceFile:28) at com.android.commands.monkey.fastbot.client.Operate.fromJson(SourceFile:54) at com.bytedance.fastbot.AiClient.l(SourceFile:1137) at com.android.commands.monkey.x.z(SourceFile:848) at com.android.commands.monkey.x.k(SourceFile:395) at com.android.commands.monkey.Monkey.f(SourceFile:1510) at com.android.commands.monkey.Monkey.a(SourceFile:867) at com.android.commands.monkey.Monkey.main(SourceFile:458) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:371) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.gson.GsonBuilder" on path: DexPathList[[zip file "/sdcard/monkeyq.jar", zip file "/sdcard/framework.jar"],nativeLibraryDirectories=[/system/lib64, /product/lib64, /system/lib64, /product/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 10 more
根据Fastbot-Android的Readme常见问题第6条,运行命令classpath 需包含 fastbot-thirdpart.jar,但客户端缺少这个参数但是无法更改最终命令
Appetizer: 1.4.0(最新版本)
fastbot-android v1.1
Macos: 10.14.6
The text was updated successfully, but these errors were encountered: