【求助】appcrawler无法启动雪球app

问题描述:

使用appcrawler无法启动雪球app

相关代码

cmd:
这是使用build-tools29.0.3 时的报错,在论坛上看到一个类似的错误,于是下载了29.0的版本,之后运行时依然报错。

D:\Program Files\Java\appcrawler>java -jar appcrawler-2.4.0-jar-with-dependencies.jar --capability “appPackage=com.xueqiu.android,appActivity=.view.WelcomeActivityAlias”
2021-06-20 18:27:15 INFO [AppCrawler$.86.main]

AppCrawler 2.4.0 [霍格沃兹测试学院特别纪念版]
Appium 1.8.1 Java8 tested
app爬虫, 用于自动遍历测试. 支持Android和iOS, 支持真机和模拟器
项目地址: https://github.com/seveniruby/AppCrawler
移动测试技术交流: https://testerhome.com
联络作者: seveniruby@testerhome.com (思寒)
致谢: 晓光 泉龙 杨榕 恒温 mikezhou yaming116 沐木


2021-06-20 18:27:15 INFO [AppCrawler$.223.parseParams] use default appium address 4723
2021-06-20 18:27:15 INFO [AppCrawler$.230.parseParams] appium address = Some(http://127.0.0.1:4723/wd/hub)
2021-06-20 18:27:15 INFO [AppCrawler$.242.parseParams] result directory = 20210620182708
2021-06-20 18:27:21 INFO [Crawler.130.start] set xpath attribute with List(name, label, value, resource-id, content-desc, instance, text)
2021-06-20 18:27:21 INFO [Crawler.135.start] set xpath
2021-06-20 18:27:21 INFO [Crawler.89.$anonfun$loadPlugins$2] com.testerhome.appcrawler.plugin.TagLimitPlugin@724c5cbe
2021-06-20 18:27:21 INFO [Crawler.89.$anonfun$loadPlugins$2] com.testerhome.appcrawler.plugin.ReportPlugin@418c020b
2021-06-20 18:27:21 INFO [Crawler.89.$anonfun$loadPlugins$2] com.testerhome.appcrawler.plugin.FreeMind@21618fa7
2021-06-20 18:27:21 INFO [TagLimitPlugin.19.init] com.testerhome.appcrawler.plugin.TagLimitPlugin init
2021-06-20 18:27:21 INFO [ReportPlugin.19.init] com.testerhome.appcrawler.plugin.ReportPlugin init
2021-06-20 18:27:21 INFO [FreeMind.19.init] com.testerhome.appcrawler.plugin.FreeMind init
2021-06-20 18:27:21 INFO [ReportPlugin.21.start] reportPath=D:\Program Files\Java\appcrawler\20210620182708
2021-06-20 18:27:21 INFO [ReportPlugin.24.start] create D:\Program Files\Java\appcrawler\20210620182708/tmp/ directory
2021-06-20 18:27:21 INFO [Crawler.138.start] prepare setup Appium
2021-06-20 18:27:21 INFO [Crawler.250.setupAppium] afterPageMax=2
2021-06-20 18:27:28 INFO [Crawler.273.setupAppium] use AppiumClient
2021-06-20 18:27:28 INFO [Crawler.274.setupAppium] Map(appActivity → .view.WelcomeActivityAlias, appium → http://127.0.0.1:4723/wd/hub, noReset → true, appPackage → com.xueqiu.android, fullReset → false)
Exception in thread “main” org.openqa.selenium.WebDriverException: It is impossible to create a new session because ‘createSession’ which takes HttpClient, InputStream and long was not found or it is not accessible
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘DESKTOP-HG2M38M’, ip: ‘192.168.56.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_291’
Driver info: driver.version: AndroidDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:195)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:209)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:231)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:207)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:130)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:94)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:93)
at com.testerhome.appcrawler.driver.AppiumClient.appium(AppiumClient.scala:99)
at com.testerhome.appcrawler.driver.AppiumClient.(AppiumClient.scala:40)
at com.testerhome.appcrawler.Crawler.setupAppium(Crawler.scala:277)
at com.testerhome.appcrawler.Crawler.start(Crawler.scala:139)
at com.testerhome.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:322)
at com.testerhome.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290)
at com.testerhome.appcrawler.AppCrawler$.main(AppCrawler.scala:91)
at com.testerhome.appcrawler.AppCrawler.main(AppCrawler.scala)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:185)
… 20 more
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot verify the signature of ‘C:\Users\Administrator\node_modules_appium-uiautomator2-server@4.23.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.23.0.apk’. Original error: Could not find ‘apksigner.jar’ in [“D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\emulator\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\cmdline-tools\latest\bin\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\tools\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\tools\bin\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\build-tools\30.0.0-preview\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\build-tools\30.0.0-preview\lib\apksigner.jar”]. Do you have Android Build Tools installed at ‘D:\Program Files\Java\sdk\android-sdk-windows’?
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘DESKTOP-HG2M38M’, ip: ‘192.168.56.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_291’
Driver info: driver.version: AndroidDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Cannot verify the signature of ‘C:\Users\Administrator\node_modules_appium-uiautomator2-server@4.23.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.23.0.apk’. Original error: Could not find ‘apksigner.jar’ in [“D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\emulator\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\cmdline-tools\latest\bin\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\tools\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\tools\bin\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\build-tools\30.0.0-preview\apksigner.jar”,“D:\Program Files\Java\sdk\android-sdk-windows\build-tools\30.0.0-preview\lib\apksigner.jar”]. Do you have Android Build Tools installed at ‘D:\Program Files\Java\sdk\android-sdk-windows’?
at getResponseForW3CError (C:\Users\Administrator\node_modules_appium-base-driver@7.7.0@appium-base-driver\lib\protocol\errors.js:804:9)
at asyncHandler (C:\Users\Administrator\node_modules_appium-base-driver@7.7.0@appium-base-driver\lib\protocol\protocol.js:380:37)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
… 25 more

appium:
[Appium] Appium v1.21.0 creating new AndroidUiautomator2Driver (v1.66.1) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] “alwaysMatch”: {
[debug] [BaseDriver] “appium:appium”: “http://127.0.0.1:4723/wd/hub”,
[debug] [BaseDriver] “platformName”: “android”,
[debug] [BaseDriver] “appium:app”: “”,
[debug] [BaseDriver] “appium:appActivity”: “.view.WelcomeActivityAlias”,
[debug] [BaseDriver] “appium:appPackage”: “com.xueqiu.android”,
[debug] [BaseDriver] “appium:deviceName”: “demo”,
[debug] [BaseDriver] “appium:fullReset”: “false”,
[debug] [BaseDriver] “appium:noReset”: “true”
[debug] [BaseDriver] },
[debug] [BaseDriver] “firstMatch”: [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Capability ‘noReset’ changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability ‘fullReset’ changed from string to boolean. This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] appium
[BaseDriver] Session created with session id: 1fcf15e7-2523-4f43-837e-e531b7d7b6f5
[UiAutomator2] Starting ‘com.xueqiu.android’ directly on the device
[ADB] Using ‘adb.exe’ from ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe’
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 start-server’
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{“udid”:“127.0.0.1:7555”,“state”:“device”}]
[AndroidDriver] Using device: 127.0.0.1:7555
[ADB] Using ‘adb.exe’ from ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe’
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 start-server’
[debug] [ADB] Setting device id to 127.0.0.1:7555
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell getprop ro.build.version.sdk’
[debug] [ADB] Current device property ‘ro.build.version.sdk’: 23
[debug] [ADB] Device API level: 23
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 wait-for-device’
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell echo ping’
[debug] [AndroidDriver] Pushing settings apk to device…
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell dumpsys package io.appium.settings’
[debug] [ADB] ‘io.appium.settings’ is installed
[debug] [ADB] Getting package info for ‘io.appium.settings’
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell dumpsys package io.appium.settings’
[debug] [ADB] The version name of the installed ‘io.appium.settings’ is greater or equal to the application version name (‘3.3.0’ >= ‘3.3.0’)
[debug] [ADB] There is no need to install/upgrade ‘C:\Users\Administrator\node_modules_io.appium.settings@3.3.0@io.appium.settings\apks\settings_apk-debug.apk’
[debug] [ADB] Getting IDs of all ‘io.appium.settings’ processes
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell ‘pgrep --help; echo $?’’
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)’
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell appops set io.appium.settings android:mock_location allow’
[debug] [Logcat] Starting logs capture with command: ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe’ -P 5037 -s 127.0.0.1:7555 logcat -v threadtime
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 forward tcp:8200 tcp:6790’
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell dumpsys package io.appium.uiautomator2.server’
[debug] [ADB] ‘io.appium.uiautomator2.server’ is installed
[debug] [ADB] Getting package info for ‘io.appium.uiautomator2.server’
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell dumpsys package io.appium.uiautomator2.server’
[debug] [ADB] The installed ‘io.appium.uiautomator2.server’ package is older than ‘C:\Users\Administrator\node_modules_appium-uiautomator2-server@4.23.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.23.0.apk’ (41 < 89 or ‘4.3.0’ < ‘4.23.0’)’
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: olderVersionInstalled
[debug] [ADB] Checking app cert for C:\Users\Administrator\node_modules_appium-uiautomator2-server@4.23.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.23.0.apk
[ADB] Using ‘apksigner.jar’ from ‘D:\Program Files\Java\sdk\android-sdk-windows\build-tools\30.0.0-preview\lib\apksigner.jar’
[debug] [ADB] Starting apksigner: D:\Java\jdk1.8.0_211\bin\java.exe -Xmx1024M -Xss1m -jar ‘D:\Program Files\Java\sdk\android-sdk-windows\build-tools\30.0.0-preview\lib\apksigner.jar’ verify --print-certs C:\Users\Administrator\node_modules\_appium-uiautomator2-server@4.23.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.23.0.apk
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched ‘/’ to command name ‘deleteSession’
[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Trying to proxy a session command without session id
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell am force-stop com.xueqiu.android’
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running ‘D:\Program Files\Java\sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 forward --remove tcp:8200’
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1624185397865 (18:36:37 GMT+0800 (中国标准时间))
[debug] [W3C] Encountered internal error running command: Error: Cannot verify the signature of ‘C:\Users\Administrator\node_modules_appium-uiautomator2-server@4.23.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.23.0.apk’. Original error: java.lang.UnsupportedClassVersionError: com/android/apksigner/ApkSignerTool has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
[debug] [W3C] at java.lang.ClassLoader.defineClass1(Native Method)
[debug] [W3C] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
[debug] [W3C] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[debug] [W3C] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
[debug] [W3C] at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
[debug] [W3C] at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
[debug] [W3C] at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
[debug] [W3C] at java.security.AccessController.doPrivileged(Native Method)
[debug] [W3C] at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
[debug] [W3C] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[debug] [W3C] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
[debug] [W3C] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[debug] [W3C] at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
[debug] [W3C] Error: A JNI error has occurred, please check your installation and try again
[debug] [W3C] Exception in thread “main”
[debug] [W3C] at ADB.checkApkCert (C:\Users\Administrator\node_modules_appium-adb@8.12.3@appium-adb\lib\tools\apk-signing.js:270:11)
[debug] [W3C] at UiAutomator2Server.installServerApk (C:\Users\Administrator\node_modules_appium-uiautomator2-driver@1.66.1@appium-uiautomator2-driver\lib\uiautomator2.js:111:13)
[debug] [W3C] at AndroidUiautomator2Driver.initUiAutomator2Server (C:\Users\Administrator\node_modules_appium-uiautomator2-driver@1.66.1@appium-uiautomator2-driver\lib\driver.js:494:7)
[debug] [W3C] at AndroidUiautomator2Driver.startUiAutomator2Session (C:\Users\Administrator\node_modules_appium-uiautomator2-driver@1.66.1@appium-uiautomator2-driver\lib\driver.js:390:5)
[debug] [W3C] at AndroidUiautomator2Driver.createSession (C:\Users\Administrator\node_modules_appium-uiautomator2-driver@1.66.1@appium-uiautomator2-driver\lib\driver.js:229:7)
[debug] [W3C] at AppiumDriver.createSession (C:\Users\Administrator\node_modules_appium@1.21.0@appium\lib\appium.js:387:35)
[HTTP] ← POST /wd/hub/session 500 7996 ms - 3393

image

appcrawler.log 文档内容:
2021-06-20 18:27:21 INFO [Crawler.130.start] set xpath attribute with List(name, label, value, resource-id, content-desc, instance, text)
2021-06-20 18:27:21 INFO [Crawler.135.start] set xpath
2021-06-20 18:27:21 INFO [Crawler.89.$anonfun$loadPlugins$2] com.testerhome.appcrawler.plugin.TagLimitPlugin@724c5cbe
2021-06-20 18:27:21 INFO [Crawler.89.$anonfun$loadPlugins$2] com.testerhome.appcrawler.plugin.ReportPlugin@418c020b
2021-06-20 18:27:21 INFO [Crawler.89.$anonfun$loadPlugins$2] com.testerhome.appcrawler.plugin.FreeMind@21618fa7
2021-06-20 18:27:21 INFO [TagLimitPlugin.19.init] com.testerhome.appcrawler.plugin.TagLimitPlugin init
2021-06-20 18:27:21 INFO [ReportPlugin.19.init] com.testerhome.appcrawler.plugin.ReportPlugin init
2021-06-20 18:27:21 INFO [FreeMind.19.init] com.testerhome.appcrawler.plugin.FreeMind init
2021-06-20 18:27:21 INFO [ReportPlugin.21.start] reportPath=D:\Program Files\Java\appcrawler\20210620182708
2021-06-20 18:27:21 INFO [ReportPlugin.24.start] create D:\Program Files\Java\appcrawler\20210620182708/tmp/ directory
2021-06-20 18:27:21 INFO [Crawler.138.start] prepare setup Appium
2021-06-20 18:27:21 INFO [Crawler.250.setupAppium] afterPageMax=2
2021-06-20 18:27:28 INFO [Crawler.273.setupAppium] use AppiumClient
2021-06-20 18:27:28 INFO [Crawler.274.setupAppium] Map(appActivity → .view.WelcomeActivityAlias, appium → http://127.0.0.1:4723/wd/hub, noReset → true, appPackage → com.xueqiu.android, fullReset → false)

image
image

说是java版本落后了,你升级下java吧。

49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
58 = Java 14

好的,谢谢大佬!





image