Android Automotive Emulator "no System Images Installed For This Target"


Answer :

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'.


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


I was able to get it to work on a stable release (3.5.1).

I went to Android Studio > Preferences > Appearance & Behavior > System Settings > Android SDK > SDK Tools and then selected Android Auto API Simulators and Android Auto Desktop Head Unit emulator. Then, back in the AVD Manager, I was able to select and download Pie for the system image.


Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable