C
Android Emulator Requirements
Running in an emulator
The quickest method for evaluating Qt for Android Automotive is to run the examples on an emulator. Qt cannot provide a pre-built Android Automotive Operating System (AAOS) image, so you will need to build or acquire one yourself.
The options for evaluating the examples are:
- Build the android emulator image with the AOSP platform debug key: the Qt for Android Automotive examples provided as pre-built APKs will then work out of the box.
- Build an AAOS image with a different platform key: you will now have to build and sign the example APKs with the same platform key.
Why build an emulator image?
The example APKs delivered by Qt are signed with an AOSP platform debug key. This is the publicly available key, that anyone can download and use. This enables these examples to run as system apps. This does however mean that to evaluate them you need an Android Automotive API29 or higher image. This image must be built with the same publicly available key or the APKs will not work.
Note: Google does not publicly share pre-built images signed with a platform debug key.
Note: If you are using an AAOS image built with a different platform key, then you need to use that same platform key to sign the APKs once again.
See also Launching Android Emulator.
Available under certain Qt licenses.
Find out more.