We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
subprocess.check_output(["aapt", "dump", "badging", apk_path]) returns an error - No such file or directory.
subprocess.check_output(["aapt", "dump", "badging", apk_path])
(venv) ➜ apk_builder git:(nino) ✗ python --version Python 2.7.10
Mac OS: 10.11.6
(venv) ➜ apk_builder git:(nino) ✗ pip list Package Version -------------- ------- alembic 0.9.1 appdirs 1.4.3 blindspin 2.0.1 chardet 3.0.2 click 6.7 colorama 0.3.7 configparser 3.5.0 crayons 0.1.2 dataset 0.8.0 Flask 0.12.1 frida 9.1.27 itsdangerous 0.24 Jinja2 2.9.6 Mako 1.0.6 MarkupSafe 1.0 normality 0.4.0 packaging 16.8 pick 0.6.3 pip 9.0.1 pmm 0.5.0 prompt-toolkit 1.0.14 Pygments 2.2.0 pyparsing 2.2.0 python-editor 1.0.3 PyYAML 3.12 requests 2.13.0 setuptools 34.4.0 six 1.10.0 SQLAlchemy 1.1.9 termcolor 1.1.0 wcwidth 0.1.7 Werkzeug 0.12.1 wheel 0.29.0
(venv) ➜ apk_builder git:(nino) ✗ python apk_builder.py --apk /Users/its/Desktop/myapp.apk ___ .______ .______ .___ ___. ______ .__ __. / \ | _ \ | _ \ | \/ | / __ \ | \ | | / ^ \ | |_) | | |_) | | \ / | | | | | | \| | / /_\ \ | ___/ | ___/ | |\/| | | | | | | . ` | / _____ \ | | | | | | | | | `--' | | |\ | /__/ \__\ | _| | _| |__| |__| \______/ |__| \__| github.com/dpnishant [I] Preparing work directory... [I] Expanding APK... Traceback (most recent call last): File "apk_builder.py", line 94, in <module> apk_dump = subprocess.check_output(["aapt", "dump", "badging", apk_path]) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
The text was updated successfully, but these errors were encountered:
@illnino You need to
./android
$PATH
build-tools
platform-tools
tools
which android
which aapt
apktool
Sorry, something went wrong.
Thanks. It worked now.
No branches or pull requests
Problem
subprocess.check_output(["aapt", "dump", "badging", apk_path])
returns an error - No such file or directory.ENV
Mac OS: 10.11.6
Reproduction Steps
The text was updated successfully, but these errors were encountered: