Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. the app on android does not start
Forum Updated to NodeBB v4.3 + New Features

the app on android does not start

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 1 Posters 155 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    woodpecker
    wrote on 22 Mar 2025, 09:32 last edited by
    #1

    Hello.
    I built a simple program for Android:
    import QtQuick

    Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")
    }
    .
    But even it does not run on the emulator.
    When deploying, a message pops up:
    Some build errors were detected.
    Ignore them?.
    I look in the Problems window:
    adb: failed to install .../build/Android_Qt_6_8_2_Clang_x86_64- Debug/android-build-appquickandroid//build/outputs/apk/debug/android-build-appquickandroid-debug.apk: cmd: Can't find service: package

    Installing to device failed!
    .
    Here is my Device:
    device.png
    Android settings are ok:
    sdk.png

    How do I get it running?
    Thanks in advance!

    1 Reply Last reply
    0
    • W Offline
      W Offline
      woodpecker
      wrote on 22 Mar 2025, 10:41 last edited by
      #2

      When I selected such a Device:
      android9.png
      , the program almost started.
      There was nothing in the Problems window.
      But in the Output window there were warnings and errors:
      output1.png
      output2.png
      .
      And the program still did not start:

      1 Reply Last reply
      0
      • W Offline
        W Offline
        woodpecker
        wrote on 29 Apr 2025, 22:11 last edited by
        #3

        I've found a solution.
        It was necessary to set in BIOS for CPU features:
        Intel Virtualization Technology = Enabled.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved