Debug Android app on Real Device
-
wrote on 8 Nov 2013, 08:01 last edited by
Hello to everyone. I am using Qt 5.1.1 and android sdk. Until now i can debug my apps using android sdk. I want to debug my application on my Real android device which is a tablet. How can i setup Qt to run in debug at my real device to use breakpoints and make a real debug of my application.
Thanks -
wrote on 14 Nov 2013, 09:20 last edited by
Turn on USB debugging : Settings->Applications->Development->USB debugging. You also need to download Google USB Driver (for ADP) or the OEM USB Drivers.
To verify your phone is connected use "adb devices" in cmd.
-
wrote on 14 Nov 2013, 09:22 last edited by
how can i set my phone as deployment target ?
-
wrote on 14 Nov 2013, 09:46 last edited by
I updated my post setting the target is not on QT, sorry. Just run your program after you have verified that your phone is connected.
-
wrote on 2 Dec 2013, 16:45 last edited by
Once you connect your phone to the computer, using the terminal or the cmd navigate to the sdk-directory/platform-tools then type
in linux:
@./adb devices@
in windows:
@adb devices@
you should get a list of android devices, if you did not find your device there try to unplug it and plug it again, at the end you must see you device when you run the command,