Qt World Summit: Submit your Presentation

Qt Creator Error: Debugger i686-linux-android-gdb" not found

  • I am trying to setup my development system for building Android Apps on Ubuntu. I get a Error regarding that the debugger cannot be found.

    My System:
    Qt Creator 3.6.1
    Ubuntu 14.04
    OS: 64bit

    Downloaded/Extracted latest:
    android-ndk (for Linux)
    android-sdk (for Linux)

    Error under Kits section in Qt Creator :

    Error: Debugger "android-ndk/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-gdb" not found

    Error: Debugger "android-ndk/toolchains/arm-Linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-Linux-androideabi-gdb" not found

    I have manually looked and these gdb files are no where to be found on my system let alone in the droid NDK download. My paths in Qt Creator are correct.

    Can someone point me in the right direction as to what I might be missing? All the tutorials I have found seem to be straight forward but maybe I am not finding the correct tutorial.

    Thanks in advance!

    ------------------------ EDIT -----------------------------
    As of an hour after posting this my Qt Creator "magically" Auto-detected a debugger (I did not change or do anything) :

    System GDB at /usr/bin/gdb Location: /usr/bin/gdb

    I manually created a kit using this debugger and I am now able to compile and launch a droid app in the emulator.
    I would still like to know an answer to my original problems if anyone has an idea about it but thought I would post this if it could help anyone else.

  • Lifetime Qt Champion

    I don't think you can use /usr/bin/gdb to debug Android apps.
    Did you try to add the debugger manually?