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

dadb.install fails when abb_exec is not available #52

Open
malbry opened this issue Feb 11, 2023 · 0 comments
Open

dadb.install fails when abb_exec is not available #52

malbry opened this issue Feb 11, 2023 · 0 comments

Comments

@malbry
Copy link

malbry commented Feb 11, 2023

When abb_exec isn't available, the install method falls back to pushing the apk file to the remote device in the /data/local/tmp/ folder and then using 'shell pm install' to try to install it from there. However this will fail with "java.lang.IllegalArgumentException: Error: Can't open file" because the required permissions are missing. After pushing the apk file and before installing there needs to be a further step, something like: shell("chmod 705 "$remotePath"")

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

1 participant