Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file at brut.androlib.res.decoder.ARSCDecoder.decode

使用ApkIDE反编译出现如下错误:

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)

解决方法:

1、从 apktool 官网:https://ibotpeaches.github.io/Apktool/下载最新版本的apktool

2、高版本覆盖掉低版本即可。如果下载的是1.x版本的请将下载到的文件改名为 apktool.jar 并放到本目录下的 1.x 文件夹中覆盖原有文件。如果下载的是2.x或更高版本的请将下载到的文件改名为 apktool.jar 并放到本目录下的 2.x 文件夹中覆盖原有文件

因为我下的是2.4的最新版本,也就放在2.x文件夹中

编译成功:

原文地址:https://www.cnblogs.com/zeussbook/p/11002745.html

时间: 2024-08-18 17:24:36

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file at brut.androlib.res.decoder.ARSCDecoder.decode的相关文章

exception in thread "main" brut.androlib.AndrdolibException: Counld not decode arse file

最近遇到一个很恶心的问题: 1  错误日志: Exception in thread "main" brut.androlib.AndrolibException: **Could not decode arsc file** at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56) at brut.androlib.res.AndrolibResources.getResPackagesFromApk(A

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command

错误如下: Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_7329934395291017709.tmp, p, --forced-package-id, 127, --min-sdk-version, 9,

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030200

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030200 反编译时遇到标题中的异常,根据描述,原因是找不到资源文件,最有可能的原因是apk中使用了系统资源. 解决办法如下: 从手机中导出framework-res.apk文件,该文件在/system/framework下面,把这个文件拷到跟apkTool同一个目录下,执行以下语句把资源文件加进来: apktool?

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030200(转)

反编译时遇到标题中的异常,根据描述,原因是找不到资源文件,最有可能的原因是apk中使用了系统资源. 解决办法如下: 从手机中导出framework-res.apk文件,该文件在/system/framework下面,把这个文件拷到跟apkTool同一个目录下,执行以下语句把资源文件加进来: [java] view plaincopy apktool if framework-res.apk 此时再执行 apktool  d  xxx.apk即可. Exception in thread "mai

Hbase delete遇到的常见异常: Exception in thread "main" java.lang.UnsupportedOperationException

hbase 执行批量删除时出现错误: Exception in thread "main" java.lang.UnsupportedOperationException at java.util.AbstractList.remove(AbstractList.java:161) at org.apache.hadoop.hbase.client.HTable.delete(HTable.java:852) 这种异常其实很常见,remove操作不支持,为什么会出现不支持的情况呢?检查

Exception in thread "main" org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [from User

Exception in thread "main" org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [from User user where user.name=?0 and user.pass=?1] at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180

Exception in thread "main" java.lang.NoSuchMethodError: org.testng.TestNG.configure(Lorg/testng/CommandLineArgs;)V

TestNG运行时报以下错误: Exception in thread "main" java.lang.NoSuchMethodError: org.testng.TestNG.configure(Lorg/testng/CommandLineArgs;)V at org.testng.remote.AbstractRemoteTestNG.configure(AbstractRemoteTestNG.java:77) at org.testng.remote.RemoteTestN

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

MyEclipse运行的时候报错,菜鸟不理解是什么意思,最后找了一些资料才知道是因为缺少commons-logging.jar包 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.commons.httpclient.HttpClient.<clinit>(HttpClient.java:66) at c

Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: Demo (wrong name: com/zhangyun/Demo)解决办法

介绍一个Java初学者可能会遇到的问题 首先,创建一个类,如下: 文件名:Demo.java package com.zhangyun; public class Demo { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("Hello World!"); } } 然后我找到对应在磁盘的位置,如下: E