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

On Tue, Feb 18, 2020 at 7:15 AM Eric Park <[email protected]> wrote:

> 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?
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/9686a12b-89ac-4a4d-a49b-b74510148bb0%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/9686a12b-89ac-4a4d-a49b-b74510148bb0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdki%2BmnDQJpjhhc%2B16HK%3D_7Fqa38dy%3Dmu3ANm3mhiJ977Q%40mail.gmail.com.

Reply via email to