Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventRecorder Error "Device tool installation failed" #4

Open
evgeny9 opened this issue Mar 2, 2012 · 2 comments
Open

EventRecorder Error "Device tool installation failed" #4

evgeny9 opened this issue Mar 2, 2012 · 2 comments

Comments

@evgeny9
Copy link

evgeny9 commented Mar 2, 2012

When running "python recorder.py test" comand I'm getting an error "Device tool installation failed - cannot open 'c:\docume1\user121\locals~1\temp\tmpfksn2g': No such file or directory".
Host OS: Windows XP SP3.

Thank you!

@sangmin22
Copy link

having the same problem. very new to these. can anyone help?

@thecreed
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants