Results 1 to 2 of 2

Thread: Android Debugger not Working

  1. #1
    Join Date
    Sep 2015
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Android Debugger not Working

    Hey Guys,

    I'm trying to produce an Android application with Debug Symbols so that I can read my crash dumps from Breakpad.

    Right now when I try and debug my android app I get this dialog:
    debugging.png

    If I output verbose logs while deploying my application I see this line:
    "Stripping libraries to minimize size."

    I know there are some issues debugging on android (as you can see in the following link), but I'm currently testing with a KitKat device (Android 4.4).
    https://wiki.qt.io/Qt_for_Android_known_issues

    I'm currently running QT Creator 3.2.2, Qt 5.4, Android NDK r10e. I have also tried different versions of Qt Creator and the Android NDK - but so far, I still have no luck.

    Questions:
    1. Does anyone else have an android application debugging correctly? If so, what is your setup.
    2. Is Qt stripping debug symbols for Android - and can I turn this off.

    Cheers,
    Mike

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Android Debugger not Working

    Are you sure you are actually compiling and linking a debug build? Are you sure that is what is being deployed to the Android device?

    My Build configuration for the eleasticnodes demo project is:

    qmake: qmake.exe elasticnodes.pro -r -spec android-g++ "CONFIG+=debug"

    make: mingw32-make.exe

    build Android APK:
    I use android-22 SDK (but it probably doesn't matter)
    I have "Bundle Qt libraries in APK" selected
    No other options selected.

    I have removed the Make install step because I found it doesn't work.

    My Run configuration is:

    Deploy to Android device

    Debugger settings: Enable C++ selected

Similar Threads

  1. Qt Widgets Application on Android Not Working
    By mykingdom13 in forum Installation and Deployment
    Replies: 0
    Last Post: 4th August 2015, 04:17
  2. Style sheet working well on all platfors except Android
    By Jon Heron in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 13th April 2015, 19:20
  3. Camera example application not working on android / HTC Flyer
    By Al_ in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 11th May 2014, 16:37
  4. Replies: 1
    Last Post: 12th April 2014, 10:55
  5. debugger not working qt creator
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 2
    Last Post: 6th December 2011, 10:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.