人们在哪里
换了几个 avtivity 试了下,报这个股错误了,请问下是什么问题
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","BH90W67E0D","shell","ls","/data/local/tmp/b395c64d068b6ee53e77d5c414b0fb85.apk"]
[AndroidDriver] Checking if app is installed
[ADB] Getting install status for com.kuparts.shop
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","BH90W67E0D","shell","pm","list","packages","com.kuparts.shop"]
[ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[AndroidDriver] Running fast reset (stop and clear)
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","BH90W67E0D","shell","am","force-stop","com.kuparts.shop"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","BH90W67E0D","shell","pm","clear","com.kuparts.shop"]
[ADB] Getting install status for selendroid.com.kuparts.shop
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","BH90W67E0D","shell","pm","list","packages","selendroid.com.kuparts.shop"]
[ADB] App is installed
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","BH90W67E0D","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[Selendroid] Starting selendroid server with instrumentation: selendroid.com.kuparts.shop/io.selendroid.server.ServerInstrumentation
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","BH90W67E0D","shell","am","instrument","-e","main_activity","com.kuparts.module.home.activity.GuidePageActivity","selendroid.com.kuparts.shop/io.selendroid.server.ServerInstrumentation"]
[Selendroid] Waiting for Selendroid to be online...
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8080/wd/hub/status] with no body
[Selendroid] Deleting Selendroid session
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","BH90W67E0D","shell","am","force-stop","com.kuparts.shop"]
[Logcat] Stopping logcat capture
[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: read ECONNRESET
at JWProxy.proxy$ (C:\Users\shihongxia\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:153:13)
报错就是跟前面的一样
Encountered internal error running command: Error: Unknown exception during instrumentation. Original error android.util.AndroidException: INSTRUMENTATION_FAILED: selendroid.com.kuparts.service/io.selendroid.server.ServerInstrumentation
配置的参数是有遗漏吗,但是我查了那么多资料,不知道还需要补什么
谢谢回复啊,automationName 设成 appium 或者不设也都不行,你说的那个方向还是没有头绪,小白一个,直接指明方向吧
谢谢,查了好多资料,试了几次都还不行,能不能直接说要增加哪些参数,名称是什么啊
就是看不懂这个啊
真心不知道啊,哥们
谢谢各位@Lihuazhang @chenhengjie123 @xdf @codeskyblue,定位一下什么问题
要怎么操作吗
好的,我改了日志,报错是这个 INSTRUMENTATION_FAILED: selendroid.com.kuparts.service/io.selendroid.server.ServerInstrumentation
是 app 包有问题吗