[咨询求助] 高手看一看,求方法

红牛不v5 发表于 2014-7-30 11:50:17 | 显示全部楼层 |阅读模式
836 1

TD启蒙班|主题 |帖子 |听众 |发消息 |加好友

apktool.bat
  1) apktool d framework-res.apk Working_APK
  2) apktool b New-framework-res.apk Working_APK
  3) apktool if framework-res.apk
---------------------------------------------------
: Checking whether sources has changed...
: Smaling...
: Checking whether resources has changed...
: Building resources...
nvalid resource directory name: D:\nubia\systemui\res/drawable-land-xxhdpi
nvalid resource directory name: D:\nubia\systemui\res/drawable-ldrtl-hdpi
nvalid resource directory name: D:\nubia\systemui\res/drawable-ldrtl-sw600dp-hd
i
nvalid resource directory name: D:\nubia\systemui\res/drawable-ldrtl-sw600dp-xh
pi
nvalid resource directory name: D:\nubia\systemui\res/drawable-ldrtl-sw600dp-xx
dpi
nvalid resource directory name: D:\nubia\systemui\res/drawable-ldrtl-xhdpi
nvalid resource directory name: D:\nubia\systemui\res/drawable-ldrtl-xxhdpi
nvalid resource directory name: D:\nubia\systemui\res/drawable-sw600dp-xxhdpi
nvalid resource directory name: D:\nubia\systemui\res/drawable-xxhdpi
nvalid resource directory name: D:\nubia\systemui\res/layout-ldrtl
xception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
bException: brut.common.BrutException: could not exec command: [aapt, p, --min-
dk-version, 19, --target-sdk-version, 19, -F, C:\Users\lenovo\AppData\Local\Tem
\APKTOOL5518237255319108760.tmp, -0, arsc, -I, C:\Users\lenovo\apktool\framewor
\1.apk, -I, C:\Users\lenovo\apktool\framework\2.apk, -S, D:\nubia\systemui\res,
-M, D:\nubia\systemui\AndroidManifest.xml]
       at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
       at brut.androlib.Androlib.buildResources(Androlib.java:283)
       at brut.androlib.Androlib.build(Androlib.java:206)
       at brut.androlib.Androlib.build(Androlib.java:176)
       at brut.apktool.Main.cmdBuild(Main.java:228)
       at brut.apktool.Main.main(Main.java:79)
aused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:
Users\lenovo\AppData\Local\Temp\APKTOOL5518237255319108760.tmp, -0, arsc, -I, C
\Users\lenovo\apktool\framework\1.apk, -I, C:\Users\lenovo\apktool\framework\2.
pk, -S, D:\nubia\systemui\res, -M, D:\nubia\systemui\AndroidManifest.xml]
       at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
:357)
       at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
       ... 5 more
aused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
-version, 19, --target-sdk-version, 19, -F, C:\Users\lenovo\AppData\Local\Temp\
PKTOOL5518237255319108760.tmp, -0, arsc, -I, C:\Users\lenovo\apktool\framework\
.apk, -I, C:\Users\lenovo\apktool\framework\2.apk, -S, D:\nubia\systemui\res, -
, D:\nubia\systemui\AndroidManifest.xml]
       at brut.util.OS.exec(OS.java:89)
       at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
:355)
       ... 6 more
请按任意键继续. . .

不能回编译,将红色字体文件夹删除回编译成功,替换resources.arsc到官方systemui.apk后,跟换重启显示进程systemui停止!!!!!!!!!!!!!!

<

1 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

红牛不v5

TD启蒙班
这个人很懒什么都没写!
  • 4

  • 主题
  • 74

  • 帖子
TDBeta客户端(没上线)

TDBeta客户端(没上线)

iPhone & Android

立即下载
关闭

站长推荐上一条 /1 下一条

1快速回复 返回顶部 返回列表