我也安装了这三个框架:
framework-res.apksystemUI.apktwframework-res.apk
我尝试了两个不同版本的framework-res.apk,但它没有帮助.
我该怎么办?
谢谢
I: Baksmaling...Error occured while disassembling class Ldxoptimizer.con; - skipPing classjava.io.IOException: The parameter is incorrect at java.io.WinNTfileSystem.createfileExclusively(Native Method) at java.io.file.createNewfile(file.java:883) at org.jf.baksmali.baksmali.disassembleDexfile(baksmali.java:176) at brut.androlib.src.SmalIDecoder.decode(SmalIDecoder.java:49) at brut.androlib.src.SmalIDecoder.decode(SmalIDecoder.java:34) at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:74) at brut.androlib.ApkDecoder.decode(ApkDecoder.java:89) at brut.apktool.Main.cmdDecode(Main.java:146) at brut.apktool.Main.main(Main.java:77)I: Loading resource table...I: Loaded.I: DeCoding AndroIDManifest.xml with resources...I: Loading resource table from file: C:\Users\ShayanK\apktool\framework.apkI: Loaded.W: Could not decode attr value,using undecoded value instead: ns=androID,name=harDWareAccelerated,value=0xffffffffW: Could not decode attr value,value=0xffffffffI: Regular manifest package...I: DeCoding file-resources...W: Could not decode attr value,name=exitFadeDuration,value=0x00000190W: Could not decode attr value,name=Alpha,value=0x3f333333W: Could not decode attr value,name=prevIEwImage,value=0x7f020001W: Could not decode attr value,value=0x00000000W: Could not decode attr value,value=0x3f000000W: Could not decode attr value,value=0x3e99999aW: Could not decode attr value,value=0x7f020002W: Could not decode attr value,name=showAsAction,value=0x7f020001I: DeCoding values */* XMLs...Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:0x01030119 at brut.androlib.res.data.ResPackage.getResspec(ResPackage.java:61) at brut.androlib.res.data.Restable.getResspec(Restable.java:58) at brut.androlib.res.data.Restable.getResspec(Restable.java:54) at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:62) at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46) at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:44) at brut.androlib.res.data.value.ResstyleValue.serializetoResValuesXml(ResstyleValue.java:48) at brut.androlib.res.data.value.ResBagValue.serializetoResValuesXml(ResBagValue.java:40) at brut.androlib.res.AndrolibResources.generateValuesfile(AndrolibResources.java:440) at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243) at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115) at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114) at brut.apktool.Main.cmdDecode(Main.java:146) at brut.apktool.Main.main(Main.java:77)解决方法 首先,请确保您已将apktool升级到最新版本,您可以按照指令 here进行安装.
然后,您需要升级框架文件.当我试图反编译一些apk文件时,它会显示这样的错误
Exception in thread “main” brut.androlib.err.UndefinedResObject:
resource spec: 0x01010462
它是由你的框架文件引起的,不支持最新的androID版本,我通过以下方式解决了问题:
>删除原始framwork文件,我的位于
I: Loading resource table from file: /Users/csc/library/apktool/framework/1.apk
>获取一个合适的框架apk
拿我的手机(nexus 5,androID 5.1)为例,你可以在/ system / framework /中找到框架apk,它叫做framework-res.apk.使用adb pull将其复制到您的计算机上,将其重命名为1.apk,将其复制到您的框架文件目录中.
>再试一次,问题解决了.
here是详细的原点教程.
总结以上是内存溢出为你收集整理的smali – 反编译.apk时apkbeol错误全部内容,希望文章能够帮你解决smali – 反编译.apk时apkbeol错误所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)