Guest User

Error apktool

a guest
Jul 25th, 2016
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. sudo apktool d -f -o payload /root/greenefy.apk
  2. Apktool v1.5.2 - a tool for reengineering Android apk files
  3. Copyright 2010 Ryszard Wiśniewski <brut.alll@gmail.com>
  4. with smali v1.4.1, and baksmali v1.4.1
  5. Updated by @iBotPeaches <connor.tumbleson@gmail.com>
  6. Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
  7.  
  8. Usage: apktool [-q|--quiet OR -v|--verbose] COMMAND [...]
  9.  
  10. COMMANDs are:
  11.  
  12. d[ecode] [OPTS] <file.apk> [<dir>]
  13. Decode <file.apk> to <dir>.
  14.  
  15. OPTS:
  16.  
  17. -s, --no-src
  18. Do not decode sources.
  19. -r, --no-res
  20. Do not decode resources.
  21. -d, --debug
  22. Decode in debug mode. Check project page for more info.
  23. -b, --no-debug-info
  24. Baksmali -- don't write out debug info (.local, .param, .line, etc.)
  25. -f, --force
  26. Force delete destination directory.
  27. -t <tag>, --frame-tag <tag>
  28. Try to use framework files tagged by <tag>.
  29. --frame-path <dir>
  30. Use the specified directory for framework files
  31. --keep-broken-res
  32. Use if there was an error and some resources were dropped, e.g.:
  33. "Invalid config flags detected. Dropping resources", but you
  34. want to decode them anyway, even with errors. You will have to
  35. fix them manually before building.
  36.  
  37. b[uild] [OPTS] [<app_path>] [<out_file>]
  38. Build an apk from already decoded application located in <app_path>.
  39.  
  40. It will automatically detect, whether files was changed and perform
  41. needed steps only.
  42.  
  43. If you omit <app_path> then current directory will be used.
  44. If you omit <out_file> then <app_path>/dist/<name_of_original.apk>
  45. will be used.
  46.  
  47. OPTS:
  48.  
  49. -f, --force-all
  50. Skip changes detection and build all files.
  51. -d, --debug
  52. Build in debug mode. Check project page for more info.
  53. -a, --aapt
  54. Loads aapt from specified location.
  55.  
  56. if|install-framework <framework.apk> [<tag>] --frame-path [<location>]
  57. Install framework file to your system.
  58.  
  59. For additional info, see: http://code.google.com/p/android-apktool/
  60. For smali/baksmali info, see: http://code.google.com/p/smali/
Add Comment
Please, Sign In to add comment