Tag Archive | android
QuickTip – QTCreator – debugging signed android application
While working on Android application using QTCreator, i have got strange debugger error.
Application was compiled, signed, and properly deployed on my test Android phone. But debugger did not want to start.
Logs shows repeated lines:
I/Qt JAVA (23201): DEBUGGER: go to sleep
I/Qt JAVA (23201): DEBUGGER: Waiting for debug socket connect
Google wasn’t helpful. But after long hours of tests, i found a solution.
Looks like QTCreator handle Android’s manifest „debuggable” flag by itself. But flag is not generated, when application is signed.
If you want to debug signed application. Add android:debuggable=”true” flag into manifest’s tag.