import subprocess
temp = subprocess.check_output("adb devices",stderr=subprocess.STDOUT,shell=True)
print(temp)
b'List of devices attached \r\nHJWV1BRDBM\tdevice\r\n\r\n'
为什么不用 tcpdump 抓包呀
大佬 我的日子跟你一样一样的 不知道您解决了没啊
思韩老师你好;这边使用 docker 部署的时候也报同样的错误 要如何解决呀, 是您极客时间的 学员,
remoteAppsCacheLimit 0
方法加个微信么 谢谢啦~
adb install 正常
你好请问这个问题你是怎么解决的呀;遇到同样的问题呢;请教下;谢谢
大佬你好 遇到了差不多的问题;能跟你请教下吗?谢谢
[MJSONWP] Encountered internal error running command: Error executing adbExec. Original error: 'Command ''E:\Program File\sdk\platform-tools\adb.exe' -P 5037 -s JBVV1V0M10 shell pm install -r /data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk' exited with code 1'; Stderr: 'Error: java.lang.NullPointerException: Attempt to read from null array'; Code: '1'
[MJSONWP] Error: Command ''E:\Program File\sdk\platform-tools\adb.exe' -P 5037 -s JBVV1V0M10 shell pm install -r /data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk' exited with code 1
[MJSONWP] at ChildProcess.proc.on.code (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\teen_process\lib\exec.js:113:19)
[MJSONWP] at ChildProcess.emit (events.js:182:13)
[MJSONWP] at maybeClose (internal/child_process.js:961:16)
[MJSONWP] at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
[HTTP] <-- POST /wd/hub/session 500 25461 ms - 474
[HTTP]
[HTTP] --> DELETE /wd/hub/session
[HTTP] {}
[HTTP] No route found. Setting content type to 'text/plain'
[HTTP] <-- DELETE /wd/hub/session 404 1 ms - 57