google / android-emulator-container-scripts

Apache License 2.0
1.89k stars 266 forks source link

Adding support for android-automotive image #286

Open insyncim64 opened 2 years ago

insyncim64 commented 2 years ago

Hi, it looks like this project can not support system image of Android Automotive now. It throws following exception, when the system image is for Android Automotive. Traceback (most recent call last): File "/home/jou1/Development/android-emulator-container-scripts/venv/bin/emu-docker", line 33, in sys.exit(load_entry_point('emu-docker', 'console_scripts', 'emu-docker')()) File "/home/jou1/Development/android-emulator-container-scripts/emu/emu_docker.py", line 300, in main args.func(args) File "/home/jou1/Development/android-emulator-container-scripts/emu/emu_docker.py", line 87, in create_docker_image sys_docker = SystemImageContainer(img, args.repo) File "/home/jou1/Development/android-emulator-container-scripts/emu/containers/system_image_container.py", line 34, in init self.system_image_zip = SystemImageReleaseZip(sort) File "/home/jou1/Development/android-emulator-container-scripts/emu/android_release_zip.py", line 128, in init self.props["qemu.short_tag"] = self.short_tag() File "/home/jou1/Development/android-emulator-container-scripts/emu/android_release_zip.py", line 168, in short_tag return self.SHORT_TAG[self.tag()] KeyError: 'android-automotive'

grossamos commented 2 years ago

Facing the same issue, are there any updates on this? (using images: https://dl.google.com/android/repository/sys-img/android-automotive/x86_64-30_r02.zip and https://developer.polestar.com/sdk/polestar_emulator_v29.zip)

gogamid commented 2 years ago

interested

daniyalsyed commented 2 years ago

Stuck at this point, using Android automotive image.

nahshal commented 1 year ago

I'm also interested, I could run the Emulator for Android but not for Automotive, any Update here?