Getting exception while compiling
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_16894295728903741973129712821256463097.tmp, compile, --dir, /data/data/com.termux/files/home/revanced-creator/revanced-cache/res, --legacy, -o, /data/data/com.termux/files/home/revanced-creator/revanced-cache/build/resources.zip]

Sorry for the late response, i was very busy this week.
revanced-cli does not support termux yet but i think this can be solved with a custom aapt2 build.
I will see what i can do to support it
Can you try it again?
I added support for termux and successfully builded revanced on my phone