Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Automotive Emulator "no system images installed for this target"

I have installed Android Studio 3.5 from the stable channel. I am trying to build the Android Automotive Emulator but I am receiving the following error

no system images installed for this target

I have downloaded the following system image

Google APIs Intel x86 Atom_64 System Image

This image is shown when I try to make a phone/tablet emulator. I am using Mac Mojave. Do I need to install the Android 10 system image to solve this error?

like image 416
Shaan_B Avatar asked Sep 17 '19 06:09

Shaan_B


People also ask

Why is my Android Emulator not working?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

Where are Android emulator images stored?

All applications and files that you have deployed to the Android emulator are stored in a file named userdata-qemu. img located in the C:\Users\<username>\. android\avd\<avd_name>.


2 Answers

You are not on the Canary channel for Android Studio, so you are not receiving updates for the Automotive Image. Your Android Studio version is only receiving updates for stable releases of Android. This can be fixed by switching over to the Canary channel in the Android Studio Preferences or downloading the Canary version.

Go to 'Android Studio >> Preferences >> Appearance & Behavior >> System Settings >> Updates'. From there you should a drop-down menu for "Automatically check updates for 'Stable Channel'". Go to the drop-down menu and switch over to 'Canary Channel'.

Another solution is to download the Canary version of Android Studio listed here: https://developer.android.com/studio/archive. Look for the releases that are labelled 'Canary'.

like image 149
Khang Huynh Avatar answered Sep 18 '22 20:09

Khang Huynh


For Automotive OS (not Android Auto) you must add system image (at the moment only for Volvo Polestar 2 image)

  1. In Android Studio, select Tools > SDK Manager
  2. Click the SDK Update Sites tab
  3. Click Add icon
  4. Enter the following Name and URL, then click OK

Name: Polestar 2 System Image
URL: https://developer.polestar.com/sdk/polestar2-sys-img.xml

Click Apply, then click OK and create a car AVD

like image 24
Mirosław Wojciechowski Avatar answered Sep 17 '22 20:09

Mirosław Wojciechowski