Skip to content

Instantly share code, notes, and snippets.

@irf266
irf266 / troubleshooting-rom-build-errors.markdown
Last active June 21, 2024 21:36
troubleshooting-rom-build-erros

Common Android build errors

Here are a list of build errors and their solutions that I've encountered since I started building custom ROMs. Execute these commands at the root of ROM folder.

I hope this will help others in fixing their build mistakes.

VINT compatibility check failed

Use compatible trees. For example, do not use Android 11 trees for building Android 12.

FAILED: /home/user/android/out/target/product/device_codename/dtb.img

Use proton-clang instead of pre-included clang.