Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Android Application is running on the virtual device but not on the real device

Qt Android Application is running on the virtual device but not on the real device

Scheduled Pinned Locked Moved Solved Mobile and Embedded
9 Posts 3 Posters 1.7k 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.
  • I Offline
    I Offline
    Ibrahim
    wrote on last edited by Ibrahim
    #1

    Hi, I am running Qt Android application on the virtual device but it is not running on the real device (Android Mini PC API 4.1). The application is starting on the mini pc but screen darkens and the application closes. Then I closed program and I open program again but program is not running this time. I set:
    AndroidManifest.xml File (Image)
    Build Android APK (Image)
    Project is very easy. This is project file (not apk file) (55.4 KB): Project Download Link (Mail.Ru).
    Thanks.

    raven-worxR 1 Reply Last reply
    0
    • I Ibrahim

      Hi, I am running Qt Android application on the virtual device but it is not running on the real device (Android Mini PC API 4.1). The application is starting on the mini pc but screen darkens and the application closes. Then I closed program and I open program again but program is not running this time. I set:
      AndroidManifest.xml File (Image)
      Build Android APK (Image)
      Project is very easy. This is project file (not apk file) (55.4 KB): Project Download Link (Mail.Ru).
      Thanks.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Ibrahim
      just a stupid guess: are you sure you are not trying to run a x86 apk on a ARM device?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Ibrahim
        wrote on last edited by
        #3

        I'm sorry. I don't know, how can I know that? And how can I know the devices are x86 or ARM and how can I compile x86 or ARM my Android application in Qt?
        I am a beginner for mobile applications. :)

        raven-worxR 1 Reply Last reply
        0
        • I Ibrahim

          I'm sorry. I don't know, how can I know that? And how can I know the devices are x86 or ARM and how can I compile x86 or ARM my Android application in Qt?
          I am a beginner for mobile applications. :)

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @Ibrahim
          The target platform is specified by the selected build target and the configured android kit (compiler). See QtCreator settings.

          Some emulators are x86 only, some others do also support ARM.
          To check the processor type of your device check the internet.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • I Offline
            I Offline
            Ibrahim
            wrote on last edited by
            #5

            While I was installing Qt, I did not install Android-armv7 with Qt: imagelink. So, while I was deploying Android application, I haven't got this option (Android for armeabi-v7a): imagelink. Should I reinstall Qt with Android-arm-v7 else can I doing this option other ways?

            1 Reply Last reply
            0
            • jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              No need to reinstall. Just start the Qt maintenance tool, go to "Add or remove components" and install the ARM version.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • I Offline
                I Offline
                Ibrahim
                wrote on last edited by
                #7

                But I can not select installed path. Error: imagelink.

                raven-worxR 1 Reply Last reply
                0
                • I Ibrahim

                  But I can not select installed path. Error: imagelink.

                  raven-worxR Offline
                  raven-worxR Offline
                  raven-worx
                  Moderators
                  wrote on last edited by
                  #8

                  @Ibrahim
                  you should start the MaintainanceTool.exe in the installation path of your existing Qt installation, instead rerunning the setup all over again.

                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                  If you have a question please use the forum so others can benefit from the solution in the future

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    Ibrahim
                    wrote on last edited by
                    #9

                    I deployed my application (Arm-v7 not x86) and ok!
                    Thanks!

                    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