'Android Automotive OS Polestar 2 image is failing to be emulated in Android Studio

I am trying to simulate the Polestar 2 image gotten from https://developer.polestar.com/sdk/polestar2-sys-img.xml and after installing and trying to execute it I receive this message from emulator: ADV Manager The emulator process for AVD Automotive_1024p_landscape_API_29 has terminated



Solution 1:[1]

You need to set the height through this (I guess you forgot ctx)

ctx.canvas.width = window.innerWidth;
ctx.canvas.height = window.innerHeight;

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mina Soleimanzadeh