18727632637 发表于 2021-7-23 13:40

apktool回编译报错异常,求求大佬们帮看看呀

我根据教程想把抖音apk改名成B站,回编译时报错

D:\>apktool b -f C:\Project
I: Using Apktool 2.5.0
I: Smaling smali folder into classes.dex...
I: Smaling smali_classes2 folder into classes2.dex...
I: Smaling smali_classes3 folder into classes3.dex...
I: Smaling smali_classes4 folder into classes4.dex...
I: Smaling smali_classes5 folder into classes5.dex...
I: Building resources...
W: ziparchive W 07-23 13:17:5796489688 Unable to open 'C:\Users\���죬��ã�\AppData\Local\apktool\framework\1.apk': Illegal byte sequence
W: zipro W 07-23 13:17:5796489688 Error opening archive C:\Users\���죬��ã�\AppData\Local\apktool\framework\1.apk: I/O error
W: C:\Project\res\values\ids.xml:4876: error: Found tag id where item is expected
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):


Android killer时报错,然后我把文件用命令编译也报错,不管什么都报错,初学者0.0,有没有大佬能教教我。。
下面是用android killer时报的错
>I: Using Apktool 2.3.4
>I: Smaling smali folder into classes.dex...
>I: Smaling smali_classes2 folder into classes2.dex...
>I: Smaling smali_classes3 folder into classes3.dex...
>I: Smaling smali_classes4 folder into classes4.dex...
>I: Smaling smali_classes5 folder into classes5.dex...
>I: Building resources...
>W: D:\androidKiller1.3.1.0\AndroidKiller_v1.3.1\projects\douyinj10.3\Project\res\values\ids.xml:4876: error: Found tag id where item is expected
>W:
> r/q/a7e.webp, -0, r/q/a7g.webp, -0, r/q/a7h.webp, -0, r/q/a7i.webp, -0, r/q/a7j.webp, -0, r/q/a7l.webp, -0, r/q/a7m.webp, -0, r/q/a7o.webp, -0, r/q/a7t.webp, -0, r/q/a7w.webp, -0, r/q/a7y.webp, -0, r/q/a80.webp, -0, r/q/a81.webp, -0, r/q/a82.webp, -0, r/q/a83.webp, -0, r/q/a84.webp, -0, r/q/a85.webp, -0, r/q/a86.webp, -0, r/q/a87.webp, -0, r/q/a88.webp, -0, r/q/a89.webp, -0, r/q/a8c.webp, -0, r/q/a8d.webp, -0, r/q/a8e.webp, -0, r/q/a8f.webp, -0, r/q/a8g.webp, -0, r/q/a8h.webp, -0, r/q/a8i.webp, -0, r/q/a8k.webp, -0, r/q/a8l.webp, -0, r/q/a8q.webp, -0, r/q/a8s.webp, -0, r/q/a8u.webp, -0, r/q/a8w.webp, -0, r/q/a8x.webp, -0, r/q/a8z.webp, -0, r/q/a90.webp, -0, r/q/a92.webp, -0, r/q/a93.webp, -0, r/q/a97.webp, -0, r/q/a98.webp, -0, r/q/a99.webp, -0, r/q/a9_.webp, -0, r/q/a9a.webp, -0, r/q/a9b.webp, -0, r/q/a9c.webp, -0, r/q/a9d.webp, -0, r/q/a9e.webp, -0, r/q/a9g.webp, -0, r/q/a9k.webp, -0, r/q/a9l.webp, -0, r/q/a9o.webp, -0, r/q/a9q.webp, -0, r/q/a9r.webp, -0, r/q/a9u.webp, -0, r/q/a9v.webp, -0, r/q/a9x.webp, -0, r/q/a9z.webp, -0, r/q/a_1.webp, -0, r/q/a_5.webp, -0, r/q/a_6.webp, -0, r/q/a_8.webp, -0, r/q/a_9.webp, -0, r/q/a__.webp, -0, r/q/a_a.webp, -0, r/q/a_b.webp, -0, r/q/a_c.webp, -0, r/q/a_d.webp, -0, r/q/a_e.webp, -0, r/q/a_f.webp, -0, r/q/a_g.webp, -0, r/q/a_h.webp, -0, r/q/a_i.webp, -0, r/q/a_j.webp, -0, r/q/a_k.webp, -0, r/q/a_l.webp, -0, r/q/a_p.webp, -0, r/q/a_r.webp, -0, r/q/a_s.webp, -0, r/q/a_t.webp, -0, r/q/a_u.webp, -0, r/q/a_v.webp, -0, r/q/a_w.webp, -0, r/q/a_x.webp, -0, r/q/aa0.webp, -0, r/q/aa1.webp, -0, r/q/aa2.webp, -0, r/q/aa4.webp, -0, r/q/aa8.webp, -0, r/q/aa_.webp, -0, r/q/aae.webp, -0,....
C:\Users\明天,你好!\AppData\Local\apktool\framework\1.apk, -S, D:\androidKiller1.3.1.0\AndroidKiller_v1.3.1\projects\douyinj10.3\Project\res, -M, D:\androidKiller1.3.1.0\AndroidKiller_v1.3.1\projects\douyinj10.3\Project\AndroidManifest.xml]

白云点缀的蓝 发表于 2021-7-23 15:01

提高apktool的版本,然后提高jdk的版本

芽衣 发表于 2021-7-23 15:02

res混淆了吧{:17_1061:}

SysEntry 发表于 2021-7-23 15:12

试试MT管理器吧.直接在手机改.

mmqwer 发表于 2021-7-23 16:35

D:\androidKiller1.3.1.0\AndroidKiller_v1.3.1\projects\douyinj10.3\Project\res\values\ids.xml,
这个文件的item少了ID,正常为
<item type="id" name="description" />
不建议直接改,可能改出问题,尝试升级apktool版本

18727632637 发表于 2021-7-24 11:50

bsjasdq 发表于 2021-7-23 15:01
提高apktool的版本,然后提高jdk的版本

大佬,用2.5试过了
页: [1]
查看完整版本: apktool回编译报错异常,求求大佬们帮看看呀