Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Mobile and Embedded
    3
    9
    1405
    Loading More Posts
    • 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
      Ibrahim last edited by 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-worx 1 Reply Last reply Reply Quote 0
      • raven-worx
        raven-worx Moderators @Ibrahim last edited by

        @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 Reply Quote 0
        • I
          Ibrahim last edited by

          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-worx 1 Reply Last reply Reply Quote 0
          • raven-worx
            raven-worx Moderators @Ibrahim last edited by

            @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 Reply Quote 0
            • I
              Ibrahim last edited by

              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 Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion last edited by

                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 Reply Quote 0
                • I
                  Ibrahim last edited by

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

                  raven-worx 1 Reply Last reply Reply Quote 0
                  • raven-worx
                    raven-worx Moderators @Ibrahim last edited by

                    @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 Reply Quote 0
                    • I
                      Ibrahim last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post