I am trying to edit an .apk I've edited xml files before, just small lines of code nothing impressive but when trying to decompile this .apk I am getting this error. Any help would be great and I will make sure to leave a thanks!! :)
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing)
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCD ecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackages FromApk(AndrolibRes
ources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(An drolibResources.jav
a:74)
at brut.androlib.res.AndrolibResources.getResTable(An drolibResources.jav
a:66)
at brut.androlib.Androlib.getResTable(Androlib.java:5 0)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.ja va:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:11 4)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.j ava:48)
at brut.androlib.res.decoder.StringBlock.read(StringB lock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage( ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(AR SCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCD ecoder.java:49)
... 8 more
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing)
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCD ecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackages FromApk(AndrolibRes
ources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(An drolibResources.jav
a:74)
at brut.androlib.res.AndrolibResources.getResTable(An drolibResources.jav
a:66)
at brut.androlib.Androlib.getResTable(Androlib.java:5 0)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.ja va:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:11 4)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.j ava:48)
at brut.androlib.res.decoder.StringBlock.read(StringB lock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage( ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(AR SCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCD ecoder.java:49)
... 8 more
Aucun commentaire:
Enregistrer un commentaire