notishell / android-apktool

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

setting.apk in 2.3.5 XXKJ3 #239

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.can't decompile setting.apk in galaxy s2 
2.android 2.3.5 XWKJ3 firmware
3.apk manager v4.9,apktool v1.3.2

-------------------------------------------------------------------------- 
|Fri 11/18/2011 -- 14:59:26.77| 
-------------------------------------------------------------------------- 
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find 
C:\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/sign
edSettings.apk
Could Not Find 
C:\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsi
gnedSettings.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Nehalem\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Nehalem\apktool\framework\2.apk
I: Loaded.
I: Decoding values*/* XMLs...
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
index out of range: 25
    at java.lang.String.charAt(Unknown Source)
    at brut.androlib.res.xml.ResXmlEncoders.findNonPositionalSubstitutions(ResXmlEncoders.java:165)
    at brut.androlib.res.xml.ResXmlEncoders.enumerateNonPositionalSubstitutions(ResXmlEncoders.java:142)
    at brut.androlib.res.data.value.ResStringValue.encodeAsResXmlValue(ResStringValue.java:45)
    at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(ResArrayValue.java:55)
    at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.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)

What version of the product are you using? On what operating system?

run on win7 64bit build 7601 sevice pack 1

thank you 

Original issue reported on code.google.com by nehale...@gmail.com on 18 Nov 2011 at 8:11

Attachments:

GoogleCodeExporter commented 9 years ago
with 1.3.1 and 1.4.2 settings.apk decompiles just fine.

Original comment by shauli.b...@gmail.com on 18 Nov 2011 at 8:50

GoogleCodeExporter commented 9 years ago

Original comment by Brut.alll on 28 Nov 2011 at 11:22