Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29547

Custom paths not supported for creating an android automotive virtual device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 11.0.0
    • Android Support
    • None
    • Android

    Description

      Qt creator seems to have the path for the Android Automotive system image hard-coded as using custom paths seems to not work. They work when creating a virtual device from the Android Studio's virtual device manager.

      Steps to reproduce

      Get an Android Automotive image (As an example, I'm using an x86_64 android 13 image). Store the image at <Path to SDK>/system-images/android-33/qtaa_emulator/x86_64. In <Path to SDK>/system-images/android-33/qtaa_emulator/x86_64/package.xml change the tag <localPackage path="system-images;android-33;qtaa_emulator;x86_64" obsolete="false">.

      Now go to device creation in Qt Creator from Edit > Preferences > Devices > Add > Android Device. In Device definition, choose Automotive, and in Architecture (ABI), choose x86_64.

      Expected Behavior

      The Target API field should list the new android-33 image.

      Observer Behavior

      The Target API field does not show the new android-33 image

      Workaround

      Place the system image in this path instead - <Path to SDK>/system-images/android-33/android-automotive/x86_64. Also, in <Path to SDK>/system-images/android-33/android-automotive/x86_64/package.xml change the tag <localPackage path="system-images;android-33;android-automotive;x86_64" obsolete="false">.

      2023-08-25 15-12-45.mp4

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            nikunj Nikunj Arora
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes