APK反编译解决Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars c file问题
2015-04-14 14:49
691 查看
在反编译apk的时候发生如下问题,
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(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
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.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
由于使用新的adt,而反编译的apktool.jar不是最新的导致。使用新的apktool.jar替换原来的就可以了。
下载apktool 地址:http://download.csdn.net/detail/zengxx1989/8593329
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(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
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.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
由于使用新的adt,而反编译的apktool.jar不是最新的导致。使用新的apktool.jar替换原来的就可以了。
下载apktool 地址:http://download.csdn.net/detail/zengxx1989/8593329
相关文章推荐
- APK Tool的问题:Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
- apk反编译出错:Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars c file
- apktool反编译:Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
- apktools 工具反编译 :Exception in thread “main” brut.androlib.AndrolibException: Could not decode
- exception in thread "main" brut.androlib.AndrdolibException: Counld not decode arse file
- Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command
- exception in thread "main" brut.androlib.AndrdolibException: Counld not decode arse file
- apktool反编译报错 brut.androlib.AndrolibException: Could not decode arsc file解决办法
- 今天遇到了这样一个问题 Exception in thread "main" org.hibernate.LazyInitializationException: could not initiali
- 用apktool反编译的时候出错:Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
- 反编译apk出现Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec错误
- Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030200
- Android错误:项目导入时,出现Exception in thread "main" java.lang.NoClassDef、Could not write file 。。。.classpath
- Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030200(转)
- Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function问题解决
- Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function问题解决
- Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underly
- [Nutch]问题解决:Exception in thread "main" java.io.IOException: Failed to set permissions of path
- Exception in thread "main" java.lang.SecurityException问题解决方法
- IO流复制文件Exception in thread "main" java.io.FileNotFoundException: A (拒绝访问。) 异常