You can test your Kotlin app on Android Automotive OS (AAOS) using the official emulator in Android Studio. This guide walks you through the process step by step.

Prerequisites

  • Android Studio installed
  • Sufficient disk space for emulator images

Step 1: Open SDK Manager

Open the SDK Manager in Android Studio, and check the Show Package Details box to see available packages for each SDK version. Step 1: Show Package Details AAOS images are available for Android 13 and Android 14 (AAOS typically lags behind the latest Android version).

Step 2: Create an Automotive Emulator

Go to Device Manager (or AVD Manager) and click Create Device. Select Automotive on the left. When prompted, download the appropriate AAOS system image. Step 2 Step 2

Step 3: Launch the Emulator

Follow the prompts to finish creating and launching your AAOS emulator. You can now deploy and test your Ditto-powered app on the AAOS emulator just like any other Android device. Step 3

Next Steps

  • Test on Real Devices: Actual hardware will determine whether Bluetooth and/or WiFi Aware can be used.
  • Build an APK: Learn how to build an APK for your Ditto-powered app.
  • Compatibility: Platforms & transports supported by the Ditto SDK on Android Automotive OS