EventRecorder Error "Device tool installation failed"
When running "python recorder.py test" comand I'm getting an error "Device tool installation failed - cannot open 'c:\docume~1\user12~1\locals~1\temp\tmpfksn2g': No such file or directory". Host OS: Windows XP SP3.
Thank you!
having the same problem. very new to these. can anyone help?
with python=2.7 and adb=1.0.32 , found the issue: added suffix='.apk' to NamedTemporaryFile() and its started to work.
def installDeviceTool(): uninstall(_TARGET_PACKAGE); file = tempfile.NamedTemporaryFile(suffix='.apk') file.write(base64.b64decode(_g_base64Apk)) file.flush() ok, reply = install(file.name) print "installing %s" % file.name file.close() return ok, reply