broo2s / brut.apktool

A tool for reverse engineering Android apk files
http://code.google.com/p/android-apktool/
353 stars 118 forks source link

I checked a fix for the missing AndroidManifest.xml issue, please pull it into the master repository if you think it's ok #2

Open jlarimer opened 13 years ago

jlarimer commented 13 years ago

fix for issue #61: AndroidManifest.xml is missed in the decoded folder of some packages

see: http://code.google.com/p/android-apktool/issues/detail?id=61

This fix allows AXmlResourceParser to work without an AttrDecoder. If there is no AttrDecoder specified, it dumps attribute strings directly without looking them up in the resource database.

If there is a resources.asrc in the APK, the AndroidManifest.xml file gets parsed like it did before. If there isn't one, it gets parsed without an AttrDecoder.