Android 这似乎不是一个“;调试&x201D;建造

Android 这似乎不是一个“;调试&x201D;建造,android,c++,gcc,qt5,qt-creator,Android,C++,Gcc,Qt5,Qt Creator,我正在尝试将调试器与android设备一起使用,并在窗口中显示这样一条警告消息: This does not seem to be a "Debug" build. Setting breakpoints by file name and line number may fail. Section .debug_info: Not found. Section .debug_abbrev: Not found. Section .debug_line: Not

我正在尝试将调试器与android设备一起使用,并在窗口中显示这样一条警告消息:

This does not seem to be a "Debug" build. Setting breakpoints by file name and line number may fail. Section .debug_info: Not found. Section .debug_abbrev: Not found. Section .debug_line: Not found. Section .debug_str: Not found. Section .debug_loc: Not found. Section .debug_range: Not found. Section .gdb_index: Not found. Section .note.gnu.build-id: Not found. Section .gnu.hash: Not found. Section .gnu_debuglink: Not found. 这似乎不是一个“调试”版本。 按文件名和行号设置断点可能会失败。 节。调试信息:未找到。 节.debug_abbrev:未找到。 节。调试行:未找到。 节.调试\u str:未找到。 节调试位置:未找到。 节。调试范围:未找到。 节。gdb_索引:未找到。 Section.note.gnu.build-id:未找到。 节gnu.hash:未找到。 节。gnu_debuglink:未找到。 我正在使用基于Qt5.1.1(GCC4.6.1,64位)的QtCreator 2.8.1。 Qt库、应用程序和所有依赖项都是使用GCC4.8构建的


在这种情况下最奇怪的是,我可以对主应用程序使用调试器,但所有库都无法进行调试。

通过将库类型从动态更改为静态,解决了此问题


另外,也许有人知道为什么动态库无法在android下进行调试?

您是如何将库类型更改为静态的?