I recently migrated from Android NDK r9b to r11b.
I'm deploying test application using QtCreator, this uses the NDK for compilation.
I'm not able to debug anymore, QtCreator complains that it cannot find arm-linux-androideabi-gdb.exe
.
And I confirm:
Why did they remove GDB from release r11b? How are we supposed to debug now?
Edit: Submitted Qt bug: https://bugreports.qt.io/browse/QTCREATORBUG-15933. gdb can be manually picked up somewhere else in NDK folder. However, I was still unable to debug after gdb.exe was found...
Edit2: Problem fixed by Qt. Upgraded to QtCreator 4.0.3. It piskcs up gdb correctly and I could debug my application!
In NDK 11 gdb was moved to $NDK_DIR/prebuilt/$HOST/bin/gdb.
QtCreator was updated for NDK 11. E.g. you can try QtCreator 4.0 beta
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With