dpnishant / appmon

Documentation:
http://dpnishant.github.io/appmon
Apache License 2.0
1.55k stars 275 forks source link

No such file or directory while signing APK #87

Closed SamsadSajid closed 5 years ago

SamsadSajid commented 5 years ago

Python version: 2.7 (Venv) Traceback:

[I] Aligning APK [I] APK alignment verified [I] Signing APK Traceback (most recent call last): File "apk_builder.py", line 197, in sign_status = subprocess.check_output(["apksigner", "sign", "--verbose", "--ks", "appmon.keystore", "--ks-pass", "pass:appmon", "--out", signed_apk_path, aligned_apk_path]) File "/usr/lib/python2.7/subprocess.py", line 567, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 711, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

I've followed this and installed everything menstioned here.

dpnishant commented 5 years ago

Path of apksigner is not added to the $PATH environment variable. Follow the steps properly to fix it.

SamsadSajid commented 5 years ago

There's no mention of apksigner in the mentioned link for Setup on Android[Non Rooted]