yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Rittik:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Yea for compiling thats what i did..but see the errors..

I will try

Apktool b settings Settings.apk

I am not sure tho

-Rik[Rittik]
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

mismatch tag, it's missing a corresponding layout start or end tag. you must have an equal number of start /end tags. eg

<RelativeLayout =layout start tag.

</RelativeLayout>=layout end tag.
[Android Software Development] Rittik:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

You mean in xmls? I didnt change anything ..just some pngs.This same happens when i try to compilr CM10 theme template..its Untouched totally even when i compile ...error.

Cam this be problem of java?

-Rik[Rittik]
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

settings_headers.xml? that's where the error is stating the error is at. @line 16 which will more than likely be the last line of that xml.

please also note, the missing tag could be anywhere between lines 1 & 16.

"could it be Java? " take it you are using the latest apktool.jar and aapt from the OP.

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software Development] Rittik:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Yep latest aapt and 1.5.2apktool..ok thanks ima look into it tomorrow and let you know :)

-Rik[Rittik]
[Android Software Development] teshxx:
has anyone tried this on SystemUI.apk from Jelly Bean 4.1.1 (factory image) ?? I am getting nothing but reboots. It compile and decompiles without any error, but just reboots.

Any ideas/ suggestions ?
[Android Software Development] raziel23x:
When will this support jelly bean
[Android Software Development] 1982Strand:
So, just to get it straight here..

If I'm working with miui on Linux, using apktool 1.4.9 and the aapt provided by miui, is it now possible to decompile/recompile without the need to manually fix the sources? :) :)

Sendt fra min HTC Desire med Tapatalk2
[Android Software Development] reosm:
recompile is not such a thing is not what you expect to decompile annoying windows aapt.exe
[Android Software Development] iBotPeaches:
I haven't tried yet, but if I fixed the plurals error, the <item> error, and the formatted="false" error I think that was all the errors.

@reosm

Your developing on Windows. Thats your fault. When aapt.exe is released, it will be. This isn't an official Android aapt so there is no ETA or anything.
[Android Software Development] chillzz81:
Works perfect. Thanks iBotPeaches for the great work! :good:
[Android Software Development] pratikmore:
i have ported joy os for galaxy 3 but it has call bug.other person cant hear my voice while i am calling.its related with framework.but i dont know how to solve this.can anyone help me?
[Android Software Development] expeacer:
Hy!

Thanks for it, but i got some error with it. I got this error: Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL-TONSOFNUMBERblahblah]

I know its aapt issue. I copied it to MiCode/tools directory (it's added to my PATH), and chmodded. When I want to run it directly, I got Segmentation fault.

Where I made a mistake :confused:
[Android Software Development] iBotPeaches:
If you get a seg fault when running aapt raw, it means the file is corrupted. I should of attached a MD5, but retry downloading and what not. What version of Linux you on?

Sent from my SGS3 AT&T Variant
[Android Software Development] tonyp:
Wow, didn't knew someone continued the development!

Have to check it out, I still use 1.4.2 for decompile and 1.4.3 for compiling, I guess with your version this isn't needed anymore?

I'm not exactly sure about your aapt note - if I'm on windows with the latest aapt.exe can I still use v1.4.9 for ICS frameworks or do I need to choose another version (1.4.8?). Thank you!

Oh and:

Damn this sounds sweeeeet! :D

You haven't been featured at xda-developers.com yet, have you? I'll send a newswriter a tip :good:
[Android Software Development] iBotPeaches:
There are some APKs that give warnings on rebuild of (Invalid Directory Error), and this has to do with the version of aapt and not apktool. Even the most up to date version of aapt has some problems, so the one I attached fixes that. I didn't build it though, so I have no way to make the windows version.

These errors only appear on Sense 4.0 APKs and some random other ones. I believe HTC modified the build engine of Android, for their own benefit. I've been debugging these Sense 4.0 APKs for awhile, and everything is right on apktool's side of things its just that aapt has problems which leds me to believe these companies use non-stock build binaries.
[Android Software Development] raziel23x:
What about the jelly bean systemui
[Android Software Development] expeacer:
I tried to download 3 times, same error. I'm using Linux Mint 13.

Edit: I tried to download in another PC, zipped, uploaded to Mediafire, and download in my Linux host. Same error...
[Android Software Development] iBotPeaches:
Still working on it. I have one set of framework-res and SystemUI. It does help me if I have more. So go ahead and upload those 2 files to help me.

Does the MD5 match: 482f8f789615b2cd154d9e5f20ac19f7 aapt ?
[Android Software Development] H89P:
Hi, tried the latest version and got a error while recompiling:

C:\Users\Patrick\Desktop\Neuer Ordner\com.touchtype.swiftkey.3.0.0.302\res\xml\p
refs_personalizers.xml:29: error: No resource identifier found for attribute 'li
keConsentText' in package 'com.touchtype'
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\Patrick\AppData\Local\Temp\APKTOOL2895651849772596389
.tmp, -I, C:\Users\Patrick\apktool\framework\1.apk, -S, C:\Users\Patrick\Desktop
\Neuer Ordner\com.touchtype.swiftkey.3.0.0.302\res, -M, C:\Users\Patrick\Desktop
\Neuer Ordner\com.touchtype.swiftkey.3.0.0.302\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:325)
at brut.androlib.Androlib.buildResources(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:193)
at brut.androlib.Androlib.build(Androlib.java:175)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Patrick\AppData\Local\Temp\APKTOOL2895651849772596389.tmp, -I, C:\Users\Pat
rick\apktool\framework\1.apk, -S, C:\Users\Patrick\Desktop\Neuer Ordner\com.touc
htype.swiftkey.3.0.0.302\res, -M, C:\Users\Patrick\Desktop\Neuer Ordner\com.touc
htype.swiftkey.3.0.0.302\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:249)
... 6 more

Can you tell me whats going wrong?
[Android Software Development] Pondy:
Hi mate, I have been trying to use your tool to decompile edit a recompile systemui for Nexus 7 jelly bean, I am getting the following error/warning when decompiling:

I: Decoding values*/* XMLs...

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:

0x010404cc

at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)

at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen

ceValue.java:59)

at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe

renceValue.java:46)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValueExt(Re

sScalarValue.java:86)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResSc

alarValue.java:55)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(R

esScalarValue.java:48)

at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(Re

sArrayValue.java:55)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour

ces.java:335)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:175

)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:114)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)

at brut.apktool.Main.cmdDecode(Main.java:128)

at brut.apktool.Main.main(Main.java:65)

Then after copying over some replacement images I get the following re-compile error:

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:163)

at brut.androlib.Androlib.build(Androlib.java:180)

at brut.androlib.Androlib.build(Androlib.java:175)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)

Caused by: brut.directory.PathNotExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:

103)

at brut.androlib.Androlib.readMetaFile(Androlib.java:159)

... 4 more

Please help, I have been searching this for days, and tried so many recommended "fixes" all with the same result.

I believe I have all the necessary pre-requisites.

Here are my (vanilla) files if it helps:

Thanks
[Android Software Development] iBotPeaches:
I will work on Jellybean SystemUI and try and fix that up.

Here is a patched aapt (for all systems). Thanks to KOJAN Dev.

http://miui.connortumbleson.com/other/apktool/aapt/
[Android Software Development] Ticklefish:
Have a look on line 29 of prefs_personalizers.xml

There might be an attribute there that's not set up correctly.

---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------

I don't know why it's not decompiling right now but I know why it's not compiling. See where it's saying that "apktool.yml" is missing? That's a file that is generated when the app's fully decompiled.

I think you need to look at getting it successfully decompiled first.

---------- Post added at 02:37 PM ---------- Previous post was at 02:36 PM ----------

When you say all systems, is that meaning Windows? Sorry if it's an obvious question, I'm ill today and not quite with it.
[Android Software Development] iBotPeaches:
Yes. At that link there is 3 folders (linux, osx and win). Simply go to /win and download aapt.exe.
[Android Software Development] Ticklefish:
Thanks!
[Android Software Development] einrae214:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

I'm trying to help a friend can some body help me
[Android Software Development] asrock37:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Guys, just a tip, if you having problems of compiling decompiling and you just want to changed the PNGs, then you don't need to decompile and compile. All you need to do is get those PNGs modify and put it again. You can open the APKs using the archive application like 7zip,winzip,winrar etc.. In short drag & drop.
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

you don't even have to leave your phone if just moving PNG. x-plore will let you crack open an apk, and you can fire PNG in/out of the apk.

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software Development] CosmicDan:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

You can't edit a compiled PNG9 though. Replacing it is fine, as long as its also a compiled PNG9.

Sent with Tapatalk
[Android Software Development] Spannaa:
If you use 9patchPngSuite you can decompile, edit and recompile .9.pngs without having to decompile the whole apk.
[Android Software Development] nick1313:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Your statement is confusing. You say you can decompile, edit, and recompile .9's without having to decompile. :confused:
[Android Software Development] Spannaa:
I actually said:

9patchPngSuite is a tool for decompiling/recompiling just the .9.pngs you want to edit, so you don't have to decompile/recompile the whole apk with apktool to do it.
[Android Software Development] nick1313:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Gotcha. Thanks for the clarification.
[Android Software Development] Bubba:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Actually he said:

If you use 9patchPngSuite you can decompile, edit and recompile .9.pngs without having to decompile the whole apk.

Which I would take to mean you could pull the .9 image from the apk with say 7 zip. Decompile, edit, and compile the image and place it back into the apk without decompiling the whole apk.

Assuming I translated properly...Hope it clears it up for you.
[Android Software Development] nick1313:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Yup clear as mud :P. J/K

Thanks guys.
[Android Software Development] RomWiz:
I have been strugeling with this a while and i'm down to one error :P

C:\Users\Daniel\apktool\WizardRom>apktool b Settings Settings.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Daniel\apktool\WizardRom\Settings\res\values\public.xml:199: error: Pub
lic resource drawable/ic_settings_rom_settings has conflicting public identifier
s (0x7f020072 vs 0x7f0200af).

And that is the part with the hex, i have been infront of my computer 4 hours trying to fix it but i just can't :(

i also checked the link someone posted a while ago about HEX codes but i can't get it to work :/
[Android Software Development] SugarFreeMilkTea:
Decompile error...

I've tried to decompile framework-res.apk from some latest roms ( Slimbean, Carbon Rom, etc).

And I've got this:

I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x010800cc drawable/background_holo_dark, config=-nodpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)

Nothing in framework-res folder... :rolleyes:
[Android Software Development] almania6:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Has anyone had problems installing com.HTC.resources.apk for the droid DNA? I can't seen to get it installed. Well it installs but with a bunch of errors. Then when I try to decompile it it Also decompiles with errors and the folder is empty.
[Android Software Development] wcoast:
I'm getting below error on almost all recent 4.2.2 Framework

C:\apktools>cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\apktools>
C:\apktools>java -jar apktool.jar if framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x010800ce drawable/background_holo_dark, config=-nodpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:11
0)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:554)
at brut.androlib.Androlib.installFramework(Androlib.java:497)
at brut.apktool.Main.cmdInstallFramework(Main.java:228)
at brut.apktool.Main.main(Main.java:76)

C:\apktools>
[Android Software Development] djmatt604:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Are you using the most up to date aapt?

Sent from my Infamous Tab.
[Android Software Development] iBotPeaches:
A member here named M1cha, helped out with this and I believe we've fixed it. Can you link me to this Huawei framework apk set? I'd like to try it out to make sure package id doesn't change.
[Android Software Development] bgcngm:
Sure, here is the full stock framework. The apk with different package IDs is huaqin-res.apk.

In the meanwhile, I have managed to workaround the issue by doing the following:

Decompile huaqin-res.apk

Edit apktool.yml and change:

usesFramework:
ids:
- 1

to:

usesFramework:
ids:
- 1
- 2

Re-compile huaqin-res.apk
[Android Software Development] RomWiz:
Hello!

When i decompile Settings and change just a single word or number then recompile it, i add it to my rom then flash it with all wipes and the setup wizard crashes, the i flash originall settings and it works.
[Android Software Development] Grondinm:
Coming over from this thread and Osama told me to post here about the error i'm getting with his tool. This error comes when his tool is at the zipalling step.

here is what he said and the error logged from his app:

SystemUI doesn't compiled
Quote:
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\Marc Grondin\Downloads\OGBatteryMod v1.7.2\Tools\miuisystemui\res/values-largeui
invalid resource directory name: C:\Users\Marc Grondin\Downloads\OGBatteryMod v1.7.2\Tools\miuisystemui\res/values-mediumui
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\MARCGR~1\AppData\Local\Temp\APKTOOL436283 6815688440345.tmp, -0, arsc, -I, C:\Users\Marc Grondin\apktool\framework\1.apk, -I, C:\Users\Marc Grondin\apktool\framework\6.apk, -S, C:\Users\Marc Grondin\Downloads\OGBatteryMod v1.7.2\Tools\miuisystemui\res, -M, C:\Users\Marc Grondin\Downloads\OGBatteryMod v1.7.2\Tools\miuisystemui\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:358)
at brut.androlib.Androlib.buildResources(Androlib.jav a: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, 16, --target-sdk-version, 16, -F, C:\Users\MARCGR~1\AppData\Local\Temp\APKTOOL436283 6815688440345.tmp, -0, arsc, -I, C:\Users\Marc Grondin\apktool\framework\1.apk, -I, C:\Users\Marc Grondin\apktool\framework\6.apk, -S, C:\Users\Marc Grondin\Downloads\OGBatteryMod v1.7.2\Tools\miuisystemui\res, -M, C:\Users\Marc Grondin\Downloads\OGBatteryMod v1.7.2\Tools\miuisystemui\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.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, 16, --target-sdk-version, 16, -F, C:\Users\MARCGR~1\AppData\Local\Temp\APKTOOL436283 6815688440345.tmp, -0, arsc, -I, C:\Users\Marc Grondin\apktool\framework\1.apk, -I, C:\Users\Marc Grondin\apktool\framework\6.apk, -S, C:\Users\Marc Grondin\Downloads\OGBatteryMod v1.7.2\Tools\miuisystemui\res, -M, C:\Users\Marc Grondin\Downloads\OGBatteryMod v1.7.2\Tools\miuisystemui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:355)
... 6 more

the entire log from his app is attached.
[Android Software Development] gamepro602:
Help

OP said to come to this thred

oringal thred

during the decompiling prossess, when it tries to decompile the system UI apk... it fails

use the attached log to see what went wrong...:(
[Android Software Development] wcoast:
I'm running on the 12/05/12 version
[Android Software Development] djmatt604:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Make sure you grab the latest. If that was the latest and you're using apktool 1.5.2, weird.

Sent from my Infamous Tab.
[Android Software Development] wcoast:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

I'm using all v1.5.2
[Android Software Development] iBotPeaches:
Your using MIUI and using the wrong aapt. Read the previous pages, then pick up a modified aapt here: http://miui.connortumbleson.com/other/aapt/
[Android Software Development] wcoast:
I'm working on CM10.1 Framework and got below after using aapt on above link

C:\apktools>cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\apktools>java -jar apktool.jar d framework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x010800ce drawable/background_holo_dark, config=-nodpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:11
0)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)

C:\apktools>
[Android Software Development] iBotPeaches:
I quoted wrong person. I meant Grondinm, sorry. Your problem is your framework is out of date. Delete $home/apktool/framework/1.apk and run it again.