2020年6月8日星期一

brut.common.BrutException when using apktool build apk

 When rebuild an APK using apktool, I run into this problem:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):

Try this:

apktool b --use-aapt2 -o unsigned_apk.apk .\app-debug\

It works for me this time,
but this may not working for any APK for all the time.

没有评论:

发表评论