iBotPeaches on internal-aapt-updates
feat: new aapt/aapt2 binaries (… (compare)
iBotPeaches on issue-2834
test: add assertion for dataExt… (compare)
iBotPeaches on gh-pages
docs: update changelog for API … (compare)
iBotPeaches on master
feat: update internal framework… (compare)
iBotPeaches on update-internal-framework
iBotPeaches on update-internal-framework
feat: update internal framework… (compare)
@iBotPeaches thank you, considering your answer:
how it is possible to make app crash when no edit? Based on your experience, any other way than apktool to edit just manifest file or anti tamper make it unchangeable?
Apktool can't make a 100% match apk, just isn't possible with how much source/resources are disassembled and rebuilt. So a nature of the beast. I'm not aware of any tools that also allow rebuilding.
at brut.androlib.res.decoder.ARSCDecoder.checkChunkType(ARSCDecoder.java:544)
at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:88)
at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:790)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:67)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:59)
at brut.androlib.Androlib.getResTable(Androlib.java:69)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:236)
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 30, --version-code, 93201, --version-name, 93.1 - Alpha, --no-version-vectors, -F, /data/data/com.termux/files/usr/tmp/APKTOOL5062160710741902504.tmp, -e, /data/data/com.termux/files/usr/tmp/APKTOOL9758211537987300682.tmp, -0, arsc, -I, /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk, -S, /data/data/com.termux/files/home/fosscord/discord/res, -M, /data/data/com.termux/files/home/fosscord/discord/AndroidManifest.xml]
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp[1]: ELF: inaccessible or not found
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp[920]: ��Q�tdpp: inaccessible or not found
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_64183809495820369852947775768105000873.tmp, p, --debug-mode, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 30, --version-code, 93201, --version-name, 93.1 - Alpha, --no-version-vectors, -F, /data/data/com.termux/files/usr/tmp/APKTOOL7631055933525059436.tmp, -e, /data/data/com.termux/files/usr/tmp/APKTOOL17829556680124513019.tmp, -0, arsc, -I, /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk, -S, /data/data/com.termux/files/home/discord-patcher/discord/res, -M, /data/data/com.termux/files/home/discord-patcher/discord/AndroidManifest.xml]
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_64183809495820369852947775768105000873.tmp[1]: ELF: inaccessible or not found
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_64183809495820369852947775768105000873.tmp[2]: syntax error: unexpected ')'
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 30, --version-code, 93201, --version-name, 93.1 - Alpha, --no-version-vectors, -F, /data/data/com.termux/files/usr/tmp/APKTOOL5062160710741902504.tmp, -e, /data/data/com.termux/files/usr/tmp/APKTOOL9758211537987300682.tmp, -0, arsc, -I, /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk, -S, /data/data/com.termux/files/home/fosscord/discord/res, -M, /data/data/com.termux/files/home/fosscord/discord/AndroidManifest.xml]
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp[1]: ELF: inaccessible or not found
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp[920]: ��Q�tdpp: inaccessible or not found
I'm not qualified at all, but I think this room is like pretty much completely dead based on the read receipts, so I guess it couldn't really hurt to give my opinion.
I can only really recommend trying to run Apktool on a different platform (for example, Windows) or trying to decompile/recompile a different APK.
That's what I would do in your scenario anyway. I have basically zero technical knowledge of Apktool, but I don't think anyone got any kind of help since like July.