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

Could not smali file #80

Open
davidsarkany opened this issue Sep 14, 2018 · 2 comments
Open

Could not smali file #80

davidsarkany opened this issue Sep 14, 2018 · 2 comments

Comments

@davidsarkany
Copy link

System
Ubuntu 18.04.1 LTS
scan.apk

python apk_builder.py --apk /home/david/scan.apk

[I] Preparing work directory...
[I] Expanding APK...
[I] Searching .smali
[I] Patching .smali
[I] Injecting libs
[I] Building APK
../../../../../tmp/appmon_apk/org.a4_mobile.scanshop/smali/org/a4_mobile/scanshop/MainActivity.smali[107,4] missing END_METHOD_DIRECTIVE at '.method'
../../../../../tmp/appmon_apk/org.a4_mobile.scanshop/smali/org/a4_mobile/scanshop/MainActivity.smali[118,4] missing EOF at '.locals'
Could not smali file: org/a4_mobile/scanshop/MainActivity.smali
Traceback (most recent call last):
  File "apk_builder.py", line 176, in <module>
    build_apk_output = subprocess.check_output(["apktool", "build", os.path.join(WORK_DIR, package_name)])
  File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['apktool', 'build', '/tmp/appmon_apk/org.a4_mobile.scanshop']' returned non-zero exit status 1
@AxDSan
Copy link

AxDSan commented Jul 31, 2019

Same thing here...

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
@AxDSan @davidsarkany and others