[Android Software Development] dicksteele:
I: Using Apktool 2.0.0-RC4 on Gmail2.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\slick\apktool\framework\1.apk

I: Regular manifest package...

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=internal, name

=layout_maxHeight, value=0x00004001

W: Could not decode attr value, using undecoded value instead: ns=internal, name

=layout_minHeight, value=0x00004001

I: Decoding values */* XMLs...

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

0x0101055c

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

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

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

at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:3

6)

at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe

sourceParser.java:369)

at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu

e(XmlPullParserDelegate.java:69)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT

ag(StaticXmlSerializerWrapper.java:267)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati

cXmlSerializerWrapper.java:211)

at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD

ecoder.java:83)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe

coder.java:141)

at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD

ecoderContainer.java:33)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1

14)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9

9)

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

)

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

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

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

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

Finished

Press any key to continue . . .

Assuming it's because of the post above

http://xdaforums.com/showpost.php?p=59911034&postcount=7

I used your tool against Google Gmail addon for 4.4.4: gapps-kk-google-gmail-20150331-1-signed.zip (replaces stock email client)

Also tried it after replacing apktool with the RC4 available. I received the same errors on both as shown above.

What framework did you use and where does you tool store it?

It appears to be in Windows 7 C:\Users\USERNAME\apktool

My initial observations, it's functional. But it's not as polished as BDFreaks Advanced APKTool.

The instructions on how to use it in your thread here http://xdaforums.com/android/software/tool-apk-tool-developed-signing-t3069563

need some work.

You don't state the location to put the frameworks file so you can install before decompling.

Maybe creating different directories for the files to decompile and frameworks would help. I decompiled an old 4.4.2 framework-res.apk that worked. I compiled, and didn't see a file built. After I zipaligned, then the file was built.

That's not clear either. That you have to compile AND zipalign to complete the process.

Quite similar looking