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. Android deployment error - ABI is incompatible
QtWS25 Last Chance

Android deployment error - ABI is incompatible

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 3 Posters 9.2k 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.
  • L Offline
    L Offline
    lqsa
    wrote on last edited by
    #1

    When I try to deploy the "Hello world" application to Android, appears the form "Select Android devide" to choose the Android traget. All the virtual devices defined on AVD appears like "Incompatible devices".

    !https://photos-3.dropbox.com/t/0/AACsfhe3cLxIpClOD06CTT90YVmRkX--PHp_gVoiVUKHeA/12/134479307/jpeg/1024x768/3/1396238400/0/2/Image1.jpg/fqWtqyzJCf3kbWmomB6htlpSP-dnfNBoGoFOSXQanro(form)!

    Why appear like incompatible?

    How can I deploy?

    1 Reply Last reply
    0
    • 0 Offline
      0 Offline
      0Tech
      wrote on last edited by
      #2

      Your figure is broken, but I had a similar issue.
      You need prefix default before the ABI name, because the new ndk uses that.
      e.g.
      armeabi-v7a -> default/armeabi-v7a

      To do so, in Qt creator
      select Projects (Ctrl + 5) > Build Environment > Add, to add the variable
      Variable: ANDROID_TARGET_ARCH
      Value: default/armeabi-v7a (or whatever you want)

      If you do this, you wouldn't see the message. But I'm not sure you could deploy the app (because I'm stuck in the next stage ><).

      I hope this could help you.

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        Are you sure this is still an issue? I am using Qt 5.3 beta, Qt Creator 3.1 beta and the newest NDK from Google, and it works without problems.

        (Z(:^

        1 Reply Last reply
        0
        • 0 Offline
          0 Offline
          0Tech
          wrote on last edited by
          #4

          Thanks sierdzio. I'll try it with the beta.

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

            I've tried 5.3.0 beta (open-source), but the issue is not resolved yet (OR my configuration is wrong).

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lqsa
              wrote on last edited by
              #6

              Yes, putting this variable the device appears like compatible and when select it, runs the Android emulator. But, like you comment, nothing is deployed.

              Another problem is, every time debug or run, it launches a new one instance of the Android emulator, doesn't use the instance that is already running.

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

                You may find the solution from my thread:
                http://qt-project.org/forums/viewthread/40540/

                I hope this would be helpful.

                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