Dex2oatd

From JCRDoc
Revision as of 12:03, 13 January 2024 by SirRGB (talk | contribs) (trim error log)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

General Details

Device: Moto G5

Codename: cedric

Rom: LineageOS

Android Version: 13

Security Patch: February 2023

Error

ERROR: Dex2oat failed to compile a boot image.It is likely that the boot classpath is inconsistent.Rebuild with ART_BOOT_IMAGE_EXTRA_ARGS="--runtime-arg -verbose:verifier" to see verification errors.

Solution

Run

cd art && git fetch https://github.com/LeafOS-Project/android_art/ 67006f22e3f249587dc25e23013ba008e56438a9 && git cherry-pick FETCH_HEAD

in the root dir of your rom rebuild after this

This is a kernel side issue and is fixed in linux 6.3+ and seems to only affect 6.1 and 6.2 kernels so far. index.php?title=Category:Build Errors