Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-10152

Not being able to preview mobile project started from Design Studio on Android emulator

    XMLWordPrintable

Details

    • QDS Berlin - 2023 Week 45/46, QDS Berlin - 2023 Week 47/48, QDS Berlin - 2023 Week 49/50, QDS Berlin - 2024 Week 1/2, QDS Berlin - 2024 Week 3/4

    Description

      The Android device (not the kit because I don't have 'Kits' in my DS as tutorial below shows. Probably everything has been included into 'Devices'. See attached screenshot.) is set up as described in this tutorial:
      https://doc.qt.io/qtdesignstudio/creator-live-preview-android.html
      Basically, I just copy everything from Qt Creator Android kit. And it also looks great without any errors in DS (see screenshot).

      So, I create a Mobile project from template with target Qt version of 6.5. Leave the project as it is without modifying even a single character. Choose 'Android Device' as kit. And try to 'Live Preview' instead of 'Run' (still following the tutorial aforementioned). Actually, I tried 'Run' once and I got error 'No Android architecture (ABI) is set by the project'. So, I guess it is only Live Preview in DS for Android project. But anyway, I try to Live Preview, then get greeted by all kinds of errors.

      First, Android application complains about 'version 6.5' at the time of launching (see the screenshot). I guess Android kit is more demanding than desktop kit (also tried with desktop kit and everything worked perfectly)? So I deleted all version numbers from import.

      Then, another issue of missing plugin appears (see screenshot). It does not make sense to me and I am out of idea of how to fix it. Because 'Application' folder exists at the default, expected position, i.e.:
      C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\qml\QtQuick\Studio\Application
      I even copy the plugin to:
      C:\Qt\Tools\QtDesignStudio\bin\qml\QtQuick\Studio\Application
      and hope the 'non-reduced' version of DS may use it. But no luck whatsoever.

      So how can I Live Preview Android application? I assume my DS is broken, because I don't even have a chance to set 'Kits'.

      Attachments

        Issue Links

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

          Activity

            People

              hancerliqt Burak Hancerli
              luqiaochen Luqiao Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes