QQ登录

只需一步,快速开始

 找回密码
 注册账号

QQ登录

只需一步,快速开始

查看: 846|回复: 1

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

[复制链接]

该用户从未签到

发表于 2014-7-30 11:50:17 | 显示全部楼层 |阅读模式
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 下一条

GMT+8, 2017-8-20 16:08 , Processed in 0.048535 second(s), 23 queries , Gzip On, Yac On.

© 2013-2017 Powered by Discuz! X3.3. Theme By Yeei!

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