[Android Software Development] varun.chitre15:
I have yet another problem now

Now this time with decompiling. I am decompiling Play Store and it gives me following error.

I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Varun\apktool\framework\1.apk
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.LinkedHashMap.createEntry(Unknown Source)
at java.util.HashMap.addEntry(Unknown Source)
at java.util.LinkedHashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at brut.androlib.res.data.ResResSpec.addResource(ResResSpec.java:116)
at brut.androlib.res.data.ResResSpec.addResource(ResResSpec.java:110)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:198)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
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:390)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(AndrolibResources.java:90)
at brut.androlib.res.data.ResTable.getPackage(ResTable.java:74)
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:35)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:313)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:64)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:98)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:112)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:126)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:152)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)

Latest apktool, latest aapt

I am trying to decompile latest Play store

Edit: Fixed it by increasing Java heap size. Sorry!

---------- Post added at 01:11 PM ---------- Previous post was at 12:39 PM ----------

Ok I am having an other error, and I am confident its problem with APKTool or AAPT this time :D

I decompiled Market successfully and without making any changes tried recompiling it, and I got this error

styles.xml:25: error: Error: String types not allowed (at 'android:textUnderlineThickness' with value 'sans-serif-light').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 14, -F, C:\Users\Varun\AppData\Local\Temp\APKTOOL1765787792266785804.tmp, -I, C:\Users\Varun\apktool\framework\1.apk, -S, D:\Jet_ROMs\APK Manager A9\other\..\projects\PhoneSky.apk\res, -M, D:\Jet_ROMs\APK Manager A9\other\..\projects\PhoneSky.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 14, -F, C:\Users\Varun\AppData\Local\Temp\APKTOOL1765787792266785804.tmp, -I, C:\Users\Varun\apktool\framework\1.apk, -S, D:\Jet_ROMs\APK Manager A9\other\..\projects\PhoneSky.apk\res, -M, D:\Jet_ROMs\APK Manager A9\other\..\projects\PhoneSky.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more

What should be done with this?

Thank you :D