简体   繁体   中英

How to active car data feature on android P aosp emulator

I got Emulator in document . It has been included car sensor data. When I git aosp source android P. I ran emulator but no car data future in extended controls. android P aosp emulator

How can I enable car sensor data in my emulator?

I added my build number: aosp_car_x86-userdebug

I had the same problem when I tried with my device configuration where I didn't get the "Car data" and "Sensor Replay" options in the Emulator's Extended Controls. This was solved by changing the PRODUCT_NAME configuration in my device's makefile to include "car" in the PRODUCT_NAME string.

You can check the emulator source code here: https://android.googlesource.com/platform/external/qemu.git/+/refs/heads/emu-master-dev/android/android-emu/android/avd/util.c#211

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM