sample-java icon indicating copy to clipboard operation
sample-java copied to clipboard

java.lang.ClassCastException: com.alibaba.fastjson.JSONObject cannot be cast to com.alibaba.fastjson.JSONArray

Open ThenBreeze opened this issue 7 years ago • 0 comments

使用项目中的apk包,运行AndroidSampleTest抛出错误, 堆栈信息: java.lang.ClassCastException: com.alibaba.fastjson.JSONObject cannot be cast to com.alibaba.fastjson.JSONArray at macaca.client.commands.Context.getContexts(Context.java:27) at macaca.client.MacacaClient.contexts(MacacaClient.java:143) at macaca.client.AndroidSampleTest.switchToWebView(AndroidSampleTest.java:140) at macaca.client.AndroidSampleTest.test_case_1(AndroidSampleTest.java:101)

ThenBreeze avatar Oct 27 '17 09:10 ThenBreeze