在 Mac 上 安装 其他都好了,然而检测的时候 appium-doctor 提示 adb、android 等变量没有找到
tangdeMac:~ testT$ adb devices
List of devices attached
4df1c02429675fb5 device
tangdeMac:~ testT$ appium-doctor
info AppiumDoctor ### Diagnostic starting ###
info AppiumDoctor ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer
info AppiumDoctor ✔ Xcode Command Line Tools are installed.
info AppiumDoctor ✔ DevToolsSecurity is enabled.
info AppiumDoctor ✔ The Authorization DB is set up properly.
info AppiumDoctor ✔ The Node.js binary was found at: /usr/local/bin/node
info AppiumDoctor ✔ HOME is set to: /Users/testT
info AppiumDoctor ✔ ANDROID_HOME is set to: /Users/testT/Desktop/android-sdk-macosx/samples
info AppiumDoctor ✔ JAVA_HOME is set to: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home
WARN AppiumDoctor ✖ adb could NOT be found at '/Users/testT/Desktop/android-sdk-macosx/samples/platform-tools/adb'!
WARN AppiumDoctor ✖ android could NOT be found at '/Users/testT/Desktop/android-sdk-macosx/samples/tools/android'!
WARN AppiumDoctor ✖ emulator could NOT be found at '/Users/testT/Desktop/android-sdk-macosx/samples/tools/emulator'!
info AppiumDoctor ### Diagnostic completed, 3 fixes needed. ###
info AppiumDoctor
info AppiumDoctor ### Manual Fixes Needed ###
info AppiumDoctor The configuration cannot be automatically fixed, please do the following first:
WARN AppiumDoctor - Manually install adb and add it to PATH.
WARN AppiumDoctor - Manually install android and add it to PATH.
WARN AppiumDoctor - Manually install emulator and add it to PATH.
info AppiumDoctor ###
info AppiumDoctor
info AppiumDoctor Bye, run appium-doctor again when the all the manual fixes have been applied!
info AppiumDoctor
tangdeMac:~ testT$
实际上 adb 是已经配置到环境变量了的 并且可以正常使用,猜测是不是权限的原因?
OS 版本 10.11.4
so sad 简历初选都没过...
报名了 哈哈哈
剽窃
思寒说的好!
想去 +1 - -打算继续走移动方向
顶好赞!
F6 可定位到地址栏
用 py3 的 还在改···没改好···抄都抄不会 好烦...
#37 楼 @xiaoxu790 我扔那了 还没管····你 py2 可以找楼主 哈哈 @mads
响应时间里的哪些 am 是啥····
#26 楼 @mads 确实是要创建一个文件夹 但又开始报 py3 引入 HTMLTestTunner 的错了
Traceback (most recent call last):
File "test_1.py", line 74, in <module>
runner.run(suite)
File "E:\python\lib\HTMLTestRunner.py", line 628, in run
test(result)
File "E:\python\lib\unittest\suite.py", line 84, in __call__
return self.run(*args, **kwds)
File "E:\python\lib\unittest\suite.py", line 114, in run
self._handleClassSetUp(test, result)
File "E:\python\lib\unittest\suite.py", line 170, in _handleClassSetUp
self._addClassOrModuleLevelException(result, e, errorName)
File "E:\python\lib\unittest\suite.py", line 216, in _addClassOrModuleLevelException
result.addError(error, sys.exc_info())
File "E:\python\lib\HTMLTestRunner.py", line 584, in addError
output = self.complete_output()
File "E:\python\lib\HTMLTestRunner.py", line 558, in complete_output
return self.outputBuffer.getvalue()
AttributeError: '_TestResult' object has no attribute 'outputBuffer'
iPhone 应该没有灰度吧 除非用第三方分发了 (PS :灰度这块是不是被谷歌市场发现要下架?就像某支付软件?)
#25 楼 @lihuazhang 没收到电话就是木有机会了咯?
期待中
Traceback (most recent call last):
File "test_1.py", line 66, in <module>
fp = open(filename, 'wb')
FileNotFoundError: [Errno 2] No such file or directory: 'E:\\testspace\\appiumresult\\result_2015102
求解....
楼主...报这个错是怎么个情况...
Arguments error, usage: python install_app <install | uninstall> <device> <apk | package>