使用apktool重新编译apk

问题描述 投票:0回答:1

当我尝试使用

apktool b .apk
时,它显示以下错误:

I: Using Apktool 2.7.0
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_82197003944312111479219531023469594915.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 29, --rename-manifest-package, com.aliucord.installer2, --version-code, 107, --version-name, 1.0.7, --no-version-vectors, -F, /data/data/com.termux/files/usr/tmp/APKTOOL5369737272708573366.tmp, -e, /data/data/com.termux/files/usr/tmp/APKTOOL17725436950078718587.tmp, -0, arsc, -I, /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk, -S, /storage/emulated/0/Download/DAPK/Aliucord/res, -M, /storage/emulated/0/Download/DAPK/Aliucord/AndroidManifest.xml]
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_82197003944312111479219531023469594915.tmp[1]: can't create �c,@f-@8: Operation not permitted
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_82197003944312111479219531023469594915.tmp[714]: syntax error: unexpected '('

Image

android xml apk apktool
1个回答
0
投票

您在 termux 中使用 apktool 吗?如果是,请使用此 apktool for termux

© www.soinside.com 2019 - 2024. All rights reserved.