Hi there,

You were right, it was the MacOS SDK issue.
I replaced SDK v. 10.15 with 10.13 as you suggested, and now I can launch 
the emulator with the AOSP-car image.
I use the same GitHub repo to obtain the SDKs.

By the way, where should I look that it's a crash at startup? besides 
running the emulator with 
-verbose
is there a log file to check ?


On Thursday, April 9, 2020 at 1:52:14 AM UTC+3, Lingfeng Yang wrote:
>
> BTW I use https://github.com/phracker/MacOSX-SDKs to download older macos 
> sdks but if anyone else has a better suggestion I'm all ears
>
> On Wed, Apr 8, 2020 at 1:39 PM Frank Yang <[email protected] <javascript:>> 
> wrote:
>
>> I notice you're on a macOS host; you'll need to build the emu-master-dev 
>> linked against macos 10.13 sdk, not 10.15 (The latest has issues where 
>> there is a crash on startup).
>>
>> On Wed, Apr 8, 2020 at 12:46 PM andrada anca <[email protected] 
>> <javascript:>> wrote:
>>
>>> How to build / run AOSP Car on the emulator from sources?
>>>
>>> My goal is to enable the hidden features of "multi-display" on the 
>>> emulator. For that, I pulled the emulator sources from the 'emu-master-dev' 
>>> branch, made the changes, build.
>>>
>>> The problem is that, I can't run the emulator with the aosp_car_x86_64 
>>> images. The emulator hangs and android is not starting.
>>>
>>>
>>> This is the lunch combo I use to build the images:
>>>
>>> ============================================
>>>
>>> PLATFORM_VERSION_CODENAME=REL
>>>
>>> PLATFORM_VERSION=10
>>>
>>> TARGET_PRODUCT=aosp_car_x86_64
>>>
>>> TARGET_BUILD_VARIANT=userdebug
>>>
>>> TARGET_BUILD_TYPE=release
>>>
>>> TARGET_ARCH=x86_64
>>>
>>> TARGET_ARCH_VARIANT=x86_64
>>>
>>> TARGET_2ND_ARCH=x86
>>>
>>> TARGET_2ND_ARCH_VARIANT=x86_64
>>>
>>> HOST_ARCH=x86_64
>>>
>>> HOST_OS=darwin
>>>
>>> HOST_OS_EXTRA=Darwin-19.3.0-x86_64-10.15.3
>>>
>>> HOST_BUILD_TYPE=release
>>>
>>> BUILD_ID=QQ2A.200305.004.A1
>>>
>>> OUT_DIR=out
>>>
>>> ============================================
>>>
>>>
>>> The system runs on the prebuilts emulator.
>>>
>>>
>>> Any idea what I am doing wrong?
>>>
>>> -- 
>>> -- 
>>> You received this message because you are subscribed to the "Android 
>>> Building" mailing list.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>
>>> 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] <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/android-building/45b4595d-b9e9-46f7-a369-c498c7cb56e6%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/android-building/45b4595d-b9e9-46f7-a369-c498c7cb56e6%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/2ec248af-c1e7-4fe9-94bd-b7c2c219a89c%40googlegroups.com.

Reply via email to