APK反编译失败

问题点:

APK反编译失败,具体如下

 I: Loading resource table... 
 Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: 
 spec=0x7f020083 drawable/ic_ab_back_padded, config=[DEFAULT]         
 at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)         
 at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)         
 at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)          
 at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165 )         
 at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)         
 at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10 5)         
 at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)         
 at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)         
 at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes ources.java:315) 

解决方法:把apktool升级到最新版本,

下载地址:https://code.google.com/p/android-apktool/issues/list

更新后反编ok:

I: Using Apktool 2.0.0-Beta9 on Velvet.apk 
I: Loading resource table... 
I: Loading resource table... 
I: Decoding AndroidManifest.xml with resources... 
I: Loading resource table from file: C:\Documents and Settings\user\apktool\fram ework\1.apk 
I: Regular manifest package... 
I: Decoding file-resources... Cleaning up unclosed ZipFile for archive C:\Documents and Settings\
user\apktool\ framework\1.apk 
I: Decoding values */* XMLs... 
I: Baksmaling... 
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...

CSDN下载地址: 下载地址




你可能感兴趣的:(android,反编译)