sky201503 / android-apktool2

Automatically exported from code.google.com/p/android-apktool
0 stars 0 forks source link

Multiple Java errors when decompiling apk. #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. decode minimalsitic text.apk
2.
3.

What is the expected output? What do you see instead?
Normal output ready for editing

What version of the product are you using? On what operating system?
latest; 1.4.1 r04; Win7 64 premium

Please provide any additional information below.

Errors:

I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Beast\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String ind
ex out of range: 33
        at java.lang.String.charAt(Unknown Source)
        at brut.androlib.res.xml.ResXmlEncoders.findNonPositionalSubstitutions(R
esXmlEncoders.java:165)
        at brut.androlib.res.xml.ResXmlEncoders.hasMultipleNonPositionalSubstitu
tions(ResXmlEncoders.java:138)
        at brut.androlib.res.data.value.ResStringValue.serializeExtraXmlAttrs(Re
sStringValue.java:63)
        at brut.androlib.res.data.value.ResScalarValue.serializeToResValuesXml(R
esScalarValue.java:65)
        at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:264)
        at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137
)
        at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
        at brut.apktool.Main.cmdDecode(Main.java:120)
        at brut.apktool.Main.main(Main.java:57)

Original issue reported on code.google.com by Dblf...@gmail.com on 1 Oct 2011 at 3:30

Attachments:

GoogleCodeExporter commented 9 years ago
Try apktool from: 
http://code.google.com/p/android-apktool/issues/detail?id=169#c1 or just wait 
for v1.4.2 .

Original comment by Brut.alll on 5 Nov 2011 at 9:14