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. Android: Debugger can not start application
Forum Updated to NodeBB v4.3 + New Features

Android: Debugger can not start application

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 5 Posters 5.9k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    MaxL
    wrote on last edited by
    #1

    Following my "previous post ":http://qt-project.org/forums/viewthread/45669/, I am trying to run the debugger with Qt Creator but unfortunately Qt Creator tells me that it could not start the application.

    In Qt Creator's settings, I have the following kit:

    Android for armeabi-v7a( GCC 4.8, Qt 5.3.1 ) with debugger android for android gcc (arm-4.8)

    Anyone else facing this issue ?

    Thanks :)

    1 Reply Last reply
    1
    • T Offline
      T Offline
      Tomme
      wrote on last edited by
      #2

      Hi,
      Are you trying to debug on a real device or a simulator ?
      On a real device, you have to activate the debug mode (see in parameters)

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MaxL
        wrote on last edited by
        #3

        Hi,

        I am trying to debug on a real device. Debug mode is activated since I can run the app through Qt Creator, just not in Debug.

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

          Yes! I'm facing the same problem.

          I can run applications on my Android device just fine, but when I try to debug on my Nexus 7 (1st gen), I get this:

          D/libEGL (15578): loaded /system/lib/egl/libGLESv2_tegra.so
          D/OpenGLRenderer(15578): Enabling debug mode 0
          D/Qt (15578): fontdatabases/basic/qbasicfontdatabase.cpp:239 (static QStringList QBasicFontDatabase::addTTFile(const QByteArray&, const QByteArray&, QSupportedWritingSystems*)): FT_New_Face failed with index 0 : 90

          "org.qtproject.example.camera" died.
          Debugging starts
          Unable to start 'org.qtproject.example.camera'.Debugging has failed
          Debugging has finished

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

            Are you using the r10 NDK? There is a bug in gdb in that version:

            https://bugreports.qt-project.org/browse/QTCREATORBUG-12726

            *edit: this might be a different problem. I'm seeing a similar problem now. Will update if I find a solution.
            **edit: my problem was unrelated: turns out there was a bug in the 5.4 branch

            1 Reply Last reply
            0
            • P Offline
              P Offline
              potvete
              wrote on last edited by
              #6

              Ray Donnelly's gdb binaries are now available on
              http://download.qt-project.org/official_releases/gdb/

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

                I am having the same issue, using Qt 5.3.2. It used to work, but I don't know if it was working after I upgraded from Qt 5.3.1 to Qt 5.3.2, or when I upgraded from Android NDK r9d to Android NDK r10c. I tried downgrading to Android NDK r9d, but I still cannot run the app. I also made sure that my project debugger settings had both C++ and QML enabled because of this page:

                http://qt-project.org/wiki/Qt532-KnownIssues

                Android Debugging does not work out-of-the-box for C++-only projects
                QTCREATORBUG-13006: Workaround: Select combined C++ and QML debugging in the project’s Run settings, even if the project does not use QML at all.

                But still have no luck. All I see is:

                Debugging starts
                Unable to start "my.app.Name".

                *edit: I am also on a real device.
                **edit: I got the same thing with the simulator.

                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