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. Trying to debug Android Tutorial App in QtCreator
Forum Updated to NodeBB v4.3 + New Features

Trying to debug Android Tutorial App in QtCreator

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 603 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.
  • S Offline
    S Offline
    ServiceWiz
    wrote on last edited by
    #1

    Hi,

    I am running Qt Creator 4.7.0-rc1 (4.6.84) [Based on Qt 5.11.1 (MSVC 2015, 32 bit)
    Built on Jul 5 2018 05:23:43, From revision 9bbb085718 ].

    I was able to build the bubble tutorial in Android and was able to run it on a virtual device running on API version 25 (I cannot run it on API 28 - it says the device is not compatible).

    However, when I got to debug this application, I get the following output in QtCreator, and the AVD screen indicates this:

    0_1533325408450_AVD_Debugger_Msg.PNG

    14:31:12: Debugging starts
    I art : Not late-enabling -Xcheck:jni (already on)
    W art : Unexpected CPU variant for X86 using defaults: x86
    W ActivityThread: Application org.qtproject.example.AndroidAppOnQt is waiting for the debugger on port 8100...
    I System.out: Sending WAIT chunk
    I art : Ignoring second debugger -- accepting and dropping
    Could not load shared library symbols for 137 libraries, e.g. /system/lib/libcutils.so.
    Use the "info sharedlibrary" command to see the complete listing.
    Do you need "set solib-search-path" or "set sysroot"?

    What am I missing? Thank you in advance.

    Ashish

    K 1 Reply Last reply
    0
    • S ServiceWiz

      Hi,

      I am running Qt Creator 4.7.0-rc1 (4.6.84) [Based on Qt 5.11.1 (MSVC 2015, 32 bit)
      Built on Jul 5 2018 05:23:43, From revision 9bbb085718 ].

      I was able to build the bubble tutorial in Android and was able to run it on a virtual device running on API version 25 (I cannot run it on API 28 - it says the device is not compatible).

      However, when I got to debug this application, I get the following output in QtCreator, and the AVD screen indicates this:

      0_1533325408450_AVD_Debugger_Msg.PNG

      14:31:12: Debugging starts
      I art : Not late-enabling -Xcheck:jni (already on)
      W art : Unexpected CPU variant for X86 using defaults: x86
      W ActivityThread: Application org.qtproject.example.AndroidAppOnQt is waiting for the debugger on port 8100...
      I System.out: Sending WAIT chunk
      I art : Ignoring second debugger -- accepting and dropping
      Could not load shared library symbols for 137 libraries, e.g. /system/lib/libcutils.so.
      Use the "info sharedlibrary" command to see the complete listing.
      Do you need "set solib-search-path" or "set sysroot"?

      What am I missing? Thank you in advance.

      Ashish

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @ServiceWiz

      Hi and welcome to devnet forum

      The responses on android problem are typically very slow. There is also a google Qt-Android group https://groups.google.com/forum/#!forum/android-qt . I would recommend to place the question also there.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      1

      • Login

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