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. Error building Qt for android
Forum Updated to NodeBB v4.3 + New Features

Error building Qt for android

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
13 Posts 2 Posters 3.0k Views 1 Watching
  • 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.
  • V Vasudha

    I'm trying to build Qt for android on windows platform.
    I'm getting this error on running the application.
    In compile output this is displayed-
    Error while building/deploying project analogclock (kit: Android for ANDROID TARGET_ARCH=armeabi-v7a (GCC 4.9, Qt 5.7.1)) When executing step "Deploy to Android device"

    I tried this solution-
    https://forum.qt.io/topic/39691/android-deployment-error-abi-is-incompatible/2
    but still this error flags.

    Any help would be appreciated. :) alt text

    jsulmJ Online
    jsulmJ Online
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #2

    @Vasudha Is there a reason why you build Qt for Android?
    There are already ready to use builds available.

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

    V 1 Reply Last reply
    1
    • jsulmJ jsulm

      @Vasudha Is there a reason why you build Qt for Android?
      There are already ready to use builds available.

      V Offline
      V Offline
      Vasudha
      wrote on last edited by
      #3

      @jsulm If I wish to run an app (made in Qt) on my android phone, how else to do that?

      jsulmJ 1 Reply Last reply
      1
      • V Vasudha

        @jsulm If I wish to run an app (made in Qt) on my android phone, how else to do that?

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @Vasudha As I already said there is already ready to use Qt for Android, just install it.
        Use Qt online installer and select Qt for Android there.

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

        V 1 Reply Last reply
        0
        • jsulmJ jsulm

          @Vasudha As I already said there is already ready to use Qt for Android, just install it.
          Use Qt online installer and select Qt for Android there.

          V Offline
          V Offline
          Vasudha
          wrote on last edited by
          #5

          @jsulm I did install the ready to use Qt for Android (due to which I see the android kits available) from here qt-opensource-windows-x86-android-5.7.1.exe

          While trying to run the app on this install I get the above error.

          jsulmJ V 2 Replies Last reply
          0
          • V Vasudha

            @jsulm I did install the ready to use Qt for Android (due to which I see the android kits available) from here qt-opensource-windows-x86-android-5.7.1.exe

            While trying to run the app on this install I get the above error.

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #6

            @Vasudha What exactly is the error?
            This: "Error while building/deploying project analogclock (kit: Android for ANDROID TARGET_ARCH=armeabi-v7a (GCC 4.9, Qt 5.7.1)) When executing step "Deploy to Android device"" - only says there was an error during deployment. What is the device you're trying to deploy to?

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

            1 Reply Last reply
            0
            • V Vasudha

              @jsulm I did install the ready to use Qt for Android (due to which I see the android kits available) from here qt-opensource-windows-x86-android-5.7.1.exe

              While trying to run the app on this install I get the above error.

              V Offline
              V Offline
              Vasudha
              wrote on last edited by
              #7

              https://drive.google.com/open?id=0B44WfREsAAQHTHBjNllHbElVWE0
              Please see this image.
              My device is onePlus3, though it gave this same error on samsung device too.

              jsulmJ 1 Reply Last reply
              0
              • V Vasudha

                https://drive.google.com/open?id=0B44WfREsAAQHTHBjNllHbElVWE0
                Please see this image.
                My device is onePlus3, though it gave this same error on samsung device too.

                jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @Vasudha I think I already had such problem: try to disable "Developer options" (or how it is called in English) and then enable them again. If it does not help try to disable USB-Debugging and then enable it again.
                Your device should actually work as it supports the ABI for which you're building.

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

                V 1 Reply Last reply
                1
                • jsulmJ jsulm

                  @Vasudha I think I already had such problem: try to disable "Developer options" (or how it is called in English) and then enable them again. If it does not help try to disable USB-Debugging and then enable it again.
                  Your device should actually work as it supports the ABI for which you're building.

                  V Offline
                  V Offline
                  Vasudha
                  wrote on last edited by
                  #9

                  @jsulm I still get the same error.

                  jsulmJ 1 Reply Last reply
                  0
                  • V Vasudha

                    @jsulm I still get the same error.

                    jsulmJ Online
                    jsulmJ Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @Vasudha Strange, with my Samsung Galaxy S6 it works. You could try to set up an emulator first and use it.

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

                    V 1 Reply Last reply
                    1
                    • jsulmJ jsulm

                      @Vasudha Strange, with my Samsung Galaxy S6 it works. You could try to set up an emulator first and use it.

                      V Offline
                      V Offline
                      Vasudha
                      wrote on last edited by
                      #11

                      @jsulm Can you tell me the steps by which you installed?
                      I did the following-

                      1. Download and install ready to build qt for android.
                      2. Download jdk, sdk, ndk, apache ant and set the paths in tools->options->devices->android.
                      3. Try building an android app using the available android kit.
                        Is that it?
                      jsulmJ 1 Reply Last reply
                      1
                      • V Vasudha

                        @jsulm Can you tell me the steps by which you installed?
                        I did the following-

                        1. Download and install ready to build qt for android.
                        2. Download jdk, sdk, ndk, apache ant and set the paths in tools->options->devices->android.
                        3. Try building an android app using the available android kit.
                          Is that it?
                        jsulmJ Online
                        jsulmJ Online
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #12

                        @Vasudha Yes, that is what I did.
                        In your case the problem is deployment to the target device not build the app, right?

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

                        V 1 Reply Last reply
                        1
                        • jsulmJ jsulm

                          @Vasudha Yes, that is what I did.
                          In your case the problem is deployment to the target device not build the app, right?

                          V Offline
                          V Offline
                          Vasudha
                          wrote on last edited by
                          #13

                          @jsulm Yeah.

                          1 Reply Last reply
                          1

                          • Login

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