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. [SOLVED] I'm Failed to debug on Android [Guys please help me]

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

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 1.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.
  • X Offline
    X Offline
    x3ex
    wrote on last edited by
    #1

    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
    0
    • S Offline
      S Offline
      s.frings74
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • X Offline
        X Offline
        x3ex
        wrote on last edited by
        #3

        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
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          0

          • Login

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