tommypacker

Apktool Error when Compiling

Jul 28th, 2013
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. tommypacker@tommypacker-desktop:~$ apktool if framework-res.apk
  2. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  3. W: Invalid config flags detected: drawable-nodpi-v8-ERR0
  4. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  5. W: Invalid config flags detected: drawable-v8-ERR1
  6. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  7. W: Invalid config flags detected: drawable-hdpi-v8-ERR2
  8. I: Framework installed to: /home/tommypacker/apktool/framework/1.apk
  9. tommypacker@tommypacker-desktop:~$ apktool d framework-res.apk
  10. Destination directory (/home/tommypacker/framework-res) already exists. Use -f switch if you want to overwrite it.
  11. tommypacker@tommypacker-desktop:~$ apktool d framework-res.apk
  12. Destination directory (/home/tommypacker/framework-res) already exists. Use -f switch if you want to overwrite it.
  13. tommypacker@tommypacker-desktop:~$ apktool d -f framework-res.apk
  14. I: Loading resource table...
  15. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  16. W: Invalid config flags detected. Dropping resources: drawable-nodpi-v8-ERR0
  17. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  18. W: Invalid config flags detected. Dropping resources: drawable-v8-ERR1
  19. W: Config flags size > 36. Exceeding bytes: 0x2000000.
  20. W: Invalid config flags detected. Dropping resources: drawable-hdpi-v8-ERR2
  21. I: Loaded.
  22. I: Decoding AndroidManifest.xml with resources...
  23. I: Regular manifest package...
  24. I: Decoding file-resources...
  25. I: Decoding values */* XMLs...
  26. I: Done.
  27. I: Copying assets and libs...
  28. tommypacker@tommypacker-desktop:~$ apktool b framework-res new.apk
  29. W: Could not find sources
  30. I: Checking whether resources has changed...
  31. I: Building resources...
  32. Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /tmp/APKTOOL8445708596288998545.tmp, -x, -S, /home/tommypacker/framework-res/res, -M, /home/tommypacker/framework-res/AndroidManifest.xml]
  33. at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
  34. at brut.androlib.Androlib.buildResources(Androlib.java:283)
  35. at brut.androlib.Androlib.build(Androlib.java:206)
  36. at brut.androlib.Androlib.build(Androlib.java:176)
  37. at brut.apktool.Main.cmdBuild(Main.java:228)
  38. at brut.apktool.Main.main(Main.java:79)
  39. Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /tmp/APKTOOL8445708596288998545.tmp, -x, -S, /home/tommypacker/framework-res/res, -M, /home/tommypacker/framework-res/AndroidManifest.xml]
  40. at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
  41. at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
  42. ... 5 more
  43. Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /tmp/APKTOOL8445708596288998545.tmp, -x, -S, /home/tommypacker/framework-res/res, -M, /home/tommypacker/framework-res/AndroidManifest.xml]
  44. at brut.util.OS.exec(OS.java:89)
  45. at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
  46. ... 6 more
  47. /usr/local/bin/aapt: 1: /usr/local/bin/aapt: Syntax error: "(" unexpected
Advertisement
Add Comment
Please, Sign In to add comment