Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tommypacker@tommypacker-desktop:~$ apktool if framework-res.apk
- W: Config flags size > 36. Exceeding bytes: 0x2000000.
- W: Invalid config flags detected: drawable-nodpi-v8-ERR0
- W: Config flags size > 36. Exceeding bytes: 0x2000000.
- W: Invalid config flags detected: drawable-v8-ERR1
- W: Config flags size > 36. Exceeding bytes: 0x2000000.
- W: Invalid config flags detected: drawable-hdpi-v8-ERR2
- I: Framework installed to: /home/tommypacker/apktool/framework/1.apk
- tommypacker@tommypacker-desktop:~$ apktool d framework-res.apk
- Destination directory (/home/tommypacker/framework-res) already exists. Use -f switch if you want to overwrite it.
- tommypacker@tommypacker-desktop:~$ apktool d framework-res.apk
- Destination directory (/home/tommypacker/framework-res) already exists. Use -f switch if you want to overwrite it.
- tommypacker@tommypacker-desktop:~$ apktool d -f framework-res.apk
- I: Loading resource table...
- W: Config flags size > 36. Exceeding bytes: 0x2000000.
- W: Invalid config flags detected. Dropping resources: drawable-nodpi-v8-ERR0
- W: Config flags size > 36. Exceeding bytes: 0x2000000.
- W: Invalid config flags detected. Dropping resources: drawable-v8-ERR1
- W: Config flags size > 36. Exceeding bytes: 0x2000000.
- W: Invalid config flags detected. Dropping resources: drawable-hdpi-v8-ERR2
- I: Loaded.
- I: Decoding AndroidManifest.xml with resources...
- I: Regular manifest package...
- I: Decoding file-resources...
- I: Decoding values */* XMLs...
- I: Done.
- I: Copying assets and libs...
- tommypacker@tommypacker-desktop:~$ apktool b framework-res new.apk
- W: Could not find sources
- I: Checking whether resources has changed...
- I: Building resources...
- 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]
- at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
- at brut.androlib.Androlib.buildResources(Androlib.java:283)
- at brut.androlib.Androlib.build(Androlib.java:206)
- at brut.androlib.Androlib.build(Androlib.java:176)
- at brut.apktool.Main.cmdBuild(Main.java:228)
- at brut.apktool.Main.main(Main.java:79)
- 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]
- at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
- at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
- ... 5 more
- 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]
- at brut.util.OS.exec(OS.java:89)
- at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
- ... 6 more
- /usr/local/bin/aapt: 1: /usr/local/bin/aapt: Syntax error: "(" unexpected
Advertisement
Add Comment
Please, Sign In to add comment