dext2oatd missing on macOS Catalina

125 views
Skip to first unread message

Eric Park

unread,
Feb 18, 2020, 10:15:47 AM2/18/20
to Android Building
Hello everyone,

Trying to build Android Q on macOS Catalina and I keep getting this error:

FAILED: ninja: '/Volumes/aosp/q/out/soong/host/darwin-x86/bin/dex2oatd', needed by '/Volumes/aosp/q/out/soong/bullhead/dex_bootjars/system/framework/arm64/boot.art', missing and no known rule to make it
17:09:04 ninja failed with: exit status 1

#### failed to build some targets (05:57 (mm:ss)) ####


It seems like it is missing dext2oatd, but since it's in the out/ directory it must be getting copied over by something. How do I include this dext2oatd file?

Dan Willemsen

unread,
Feb 18, 2020, 6:18:54 PM2/18/20
to Android Building
dex2oat[d] (the host version) is not supported on Mac, so you cannot use WITH_DEXPREOPT=true on a Mac. (Not setting it should be the default)

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/9686a12b-89ac-4a4d-a49b-b74510148bb0%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages