Qt Forum

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

    Qt Academy Launch in California!

    [SOLVED] I'm Failed to debug on Android [Guys please help me]

    Mobile and Embedded
    3
    4
    975
    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.
    • X
      x3ex last edited by

      I'm new to Qt and also in Android development. I want to debug my application on Android but I'm unable to do that. I'm giving all the information of my SDK in below. Please see all the Screen Shot and help me out...

      When I start a project, Which I've to select ?

      1. Kit Selection --> http://postimg.org/image/a06s6jb3n/

      Here are Kits, QtVersions and Debuggers
      2. Kits --> http://postimg.org/image/3p1kq49v7/
      3. Qt Versions --> http://postimg.org/image/b6as5bzeb/
      4. Debuggers --> http://postimg.org/image/m3c3u3m5v/

      Here is the Android Config:
      5. Android Configurations --> http://postimg.org/image/k3vi2orub/

      When I Run a project, I'm getting this:
      6. Run --> http://postimg.org/image/sanhu9hwz/full/

      When I press Build, I'm getting this:
      7. Build Issues --> http://postimg.org/image/pe0gtzc37/

      Here is the Android SDK Manager:
      8. Android SDK Manager --> http://postimg.org/image/kvy61vw1f/

      I'm using Qt 5.2.1 with Qt Creator 3.0.1 on Windows 8.1.

      Guys Please Help me !!!

      1 Reply Last reply Reply Quote 0
      • S
        s.frings74 last edited by

        That's easy. You compiled for an x86 architecture but the only available device has an arm architecture.

        1 Reply Last reply Reply Quote 0
        • X
          x3ex last edited by

          Thank You for your reply...

          The problem is Qt Creator 3.0.1. There is a bug. You can fix it by adding add:
          ANDROID_TARGET_ARCH=default/armeabi-7a

          Projects->Build Environment->ANDROID_TARGET_ARCH=default/armeabi-7a

          After doing that your AVD will show as compatible device. :-)

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Hi,

            It's not really a bug, it's the Android SDK/NDK that has changed it's naming convention

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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