AndroidViewClient をインストールしようとしていますが、多くの問題があります。dtmilano の github でダウンロードします。私は Mavericks を使用していますが、Python は初めてです。
Si は github でステップバイステップの指示に従いました! ./dump を起動しようとすると、次のメッセージが表示されました。
Traceback (most recent call last):
File "./tools/dump", line 126, in <module>
vc = ViewClient(*ViewClient.connectToDeviceOrExit(**kwargs1), **kwargs2)
File "/Library/Python/2.7/site-packages/androidviewclient-5.6.0- py2.7.egg/com/dtmilano/android/viewclient.py", line 1188, in __init__
adb = ViewClient.__obtainAdbPath()
File "/Library/Python/2.7/site-packages/androidviewclient-5.6.0-py2.7.egg/com/dtmilano/android/viewclient.py", line 1341, in __obtainAdbPath
raise Exception('adb="%s" is not executable. Did you forget to set ANDROID_HOME in the environment?' % adb)
Exception: adb="adb" is not executable. Did you forget to set ANDROID_HOME in the environment?
ここに私の環境変数があります:
ANDROID_HOME=/Users/Flo/Documents/adt-bundle-mac-x86_64-20130729/sdk/
ANDROID_VIEW_CLIENT_HOME=/Users/Flo/Documents/Android/AndroidViewClient-5.1.1/AndroidViewClient/
スクリプトを実行できない場合、AndroidViewClientフォルダーを取得しますcd $ANDROID_VIEW_CLIENT_HOME
..
この行 : を実行するとpython check-import.py --debug
、次のようになりました。
sys.path= ['/Users/Flo/Documents/Android/AndroidViewClient-5.1.1/AndroidViewClient/examples', '/Library/Python/2.7/site-packages/androidviewclient-5.6.0-py2.7.egg', '/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', '/Users/Flo/Documents/Android/AndroidViewClient-5.1.1/AndroidViewClient/src']
OK
誰でも私を助けてくれますか?私は2日からそれに取り組んでいますが、何ができるのかわかりません。いろいろ試しました。AndroidViewClientを削除/再インストールしますが、常に同じ結果です