Simon The Coder

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.
发帖者 51m0n 时间: 11:30 没有评论:
通过电子邮件发送BlogThis!分享到 X共享给 Facebook分享到Pinterest
较新的博文 较旧的博文 主页
订阅: 博文 (Atom)

我的简介

51m0n
查看我的完整个人资料

博客归档

  • ►  2025 (2)
    • ►  五月 (2)
  • ►  2023 (3)
    • ►  四月 (1)
    • ►  三月 (1)
    • ►  二月 (1)
  • ►  2022 (2)
    • ►  五月 (1)
    • ►  四月 (1)
  • ►  2021 (2)
    • ►  七月 (1)
    • ►  一月 (1)
  • ▼  2020 (9)
    • ►  八月 (1)
    • ►  七月 (3)
    • ▼  六月 (1)
      • brut.common.BrutException when using apktool build...
    • ►  五月 (1)
    • ►  四月 (2)
    • ►  二月 (1)
  • ►  2019 (2)
    • ►  二月 (2)
  • ►  2018 (5)
    • ►  十二月 (1)
    • ►  十月 (3)
    • ►  二月 (1)
  • ►  2017 (4)
    • ►  十二月 (1)
    • ►  七月 (1)
    • ►  六月 (2)
  • ►  2015 (1)
    • ►  二月 (1)
“简单”主题背景. 由 Blogger 提供支持.