反编译apk出现Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec错误
来源:互联网 发布:停车场车牌识别算法 编辑:程序博客网 时间:2024/05/01 07:48
$ java -jar ../resources/apktool.jar d -f apk/xxx-person-6.0\(9\)-25.apk -o aaa-o
I: Using Apktool 2.1.0 on mixin-person-6.0(9)-25.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /Users/zhangjg/Library/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010104e2
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:66)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:62)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:57)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResScalarValue.java:58)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:72)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:510)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:264)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:128)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:106)
at brut.apktool.Main.cmdDecode(Main.java:163)
at brut.apktool.Main.main(Main.java:81)
仔细查看,有这么一行:I: Loading resource table from file: /Users/xxx/Library/apktool/framework/1.apk
删除该文件,再次运行即可解决
阅读全文
1 0
- 反编译apk出现Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec错误
- 用apktool反编译的时候出错:Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
- Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030200
- exception in thread main brut.androlib.err.undefinedresobject resource spec : 0x01010462
- Android反编译时报错Exception in thread "main" brut.androlib.err.UndefinedResObject
- 使用apktool反编译,出现brut.androlib.err.UndefinedResObject
- apk反编译出错:Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars c file
- brut.androlib.err.UndefinedResObject apktool反编译问题
- android apktool 反编失败,提示brut.androlib.err.UndefinedResObject: resource spec:
- APK反编译解决Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars c file问题
- brut.androlib.err.UndefinedResObject(完美解决)apktool反编译问题
- apktools 工具反编译 :Exception in thread “main” brut.androlib.AndrolibException: Could not decode
- apktool反编译:Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
- APK Tool的问题:Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
- exception in thread "main" brut.androlib.AndrdolibException: Counld not decode arse file
- exception in thread "main" brut.androlib.AndrdolibException: Counld not decode arse file
- 关于反编译apk出现Exception in thread "main" java.lang.ClassCastException: ....
- 运行DBCA Exception in thread "main"错误
- Tomcat源码分析-JMX(下)
- Tomcat安装与环境变量的配置
- CentOS yum install Another app is currently holding the yum lock解决方法
- 初学者到编程高手
- To yourself
- 反编译apk出现Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec错误
- C语言中scanf(),sscanf(),fscanf()的用法和区别
- OpenCV颜色空间——HLS颜色空间
- 浅谈程序设计
- spring-aop配置多切面
- VS/MFC实例:对话框--为对话框添加控件
- 最小生成树(普利姆算法、克鲁斯卡尔算法)
- JKS导出的P12无法导入keychain或转换成pem问题:Error outputting keys and certificates
- 关于Lisp采用波兰式的一些想法