android - Invalid syntax zipfile(apkAbsPath) in line 202 ninjadroid.py -
i cloned ninjadroid https://github.com/rovellipaolo/ninjadroid , followed instructions decompiling apk files. instructed have installed android sdk , python, when tried running command in command prompt (python ninjadroid.py -t mypackage.apk
), throws below error
file "ninjadroid.py", line 202 zipfile(apkabspath) z:
mmm... that's strange.
is 'mypackage.apk' existing file (in computer)? real apk package? error, trying reverse non-apk file.
unfortunately "is-apk" check in current, available version lazy check - done pretty badly. reimplemented in new version working on.
updatewith newest ninjadroid version (i.e. 2.0):
$ python ninjadroid.py this_is_a_non_existing_file >> ninjadroid: [error] target file (i.e. 'this_is_a_non_existing_file') must existing, readable file! $ touch this_is_an_existing_file_but_not_an_apk_package.txt $ python ninjadroid.py this_is_an_existing_file_but_not_an_apk_package.txt >> ninjadroid: [error] target file (i.e. 'this_is_an_existing_file_but_not_an_apk_package.txt') must apk package! $ python ninjadroid.py test/data/example.apk { "app_name": "example", ... }
android python
No comments:
Post a Comment