[Interest] Qt Creator Samsung Android gdb can't connect

Jérôme Godbout godboutj at amotus.ca
Mon Nov 26 22:19:40 CET 2018


I have the USB debugging enabled, I don’t see any Firewall settings. I have uncheck the check application by USB port.

From: coroberti . <coroberti at gmail.com>
Sent: November 26, 2018 2:13 PM
To: Jérôme Godbout <godboutj at amotus.ca>
Cc: interest at lists.qt-project.org; qt-project at renan.org
Subject: Re: [Interest] Qt Creator Samsung Android gdb can't connect

It might be that the device has some
"Enable Debugging" or "Allow debugging" in some "Developer Options/Section"
that opens the firewall at the right ports.

Kind regards,
Robert Iakobashvili
............................


On Mon, Nov 26, 2018 at 9:08 PM Jérôme Godbout <godboutj at amotus.ca<mailto:godboutj at amotus.ca>> wrote:
I don’t think I have access to Android firewall settings into the Android device, I might be wrong, but I don’t see any settings to do so.

P.S.: I pray for a true Linux phone one day…

From: coroberti . <coroberti at gmail.com<mailto:coroberti at gmail.com>>
Sent: November 26, 2018 2:01 PM
To: interest at lists.qt-project.org<mailto:interest at lists.qt-project.org>
Cc: Jérôme Godbout <godboutj at amotus.ca<mailto:godboutj at amotus.ca>>; qt-project at renan.org<mailto:qt-project at renan.org>
Subject: Re: [Interest] Qt Creator Samsung Android gdb can't connect

Hi,
It might be the firewall of the device that stops the incoming connections.

Kind regards,
Robert Iakobashvili
............................


On Mon, Nov 26, 2018 at 8:57 PM Jérôme Godbout <godboutj at amotus.ca<mailto:godboutj at amotus.ca>> wrote:
The “run” work normally I could see the debug trace coming in too. It’s really during the GDB server connection that it fail.

There is not much into the windows but here’s the
Application Output:
D libXXX.so: (null):0 ((null)): QML Debugger: Waiting for connection on port 52726...

Nothing into the General Messages or Debugger Console (even into info level).

I will try the 4.8 RC as soon as I can.


From: Interest <interest-bounces at lists.qt-project.org<mailto:interest-bounces at lists.qt-project.org>> On Behalf Of Stanislas RENAN
Sent: November 24, 2018 3:18 AM
To: interest at lists.qt-project.org<mailto:interest at lists.qt-project.org>
Subject: Re: [Interest] Qt Creator Samsung Android gdb can't connect


Hi,

Does run-as work on your devices ?

Best regards,
Stanislas RENAN
Le 23/11/2018 à 20:33, Jérôme Godbout a écrit :
Someone told me Android 8.1 could fix the problem with Samsung Tab A, sadly I did update the tablet but it did not fix the problem. Is there a way to put Qt Creator into a verbose mode to know what he is looking for? Because the following error is not helping me figuring out what is wrong with the Samsung device:

The compile output:
14:20:17: The process "C:/QtNew/5.10.1/android_armv7/bin/androiddeployqt.exe" exited normally.
14:20:17: Pulling files necessary for debugging.
14:20:17: Package deploy: Running command "C:/AndroidSDK/platform-tools/adb.exe -s 7daa5efb61fecb72 pull /system/bin/app_process D:/Code/build/GGI-AIX2019-Android_for_armeabi_v7a_GCC_4_9_Qt_5_10_1_for_Android_armv7-Debug/app_process".
14:20:18: Package deploy: Running command "C:/AndroidSDK/platform-tools/adb.exe -s 7daa5efb61fecb72 pull /system/bin/app_process32 D:/Code/build/GGI-AIX2019-Android_for_armeabi_v7a_GCC_4_9_Qt_5_10_1_for_Android_armv7-Debug/app_process".
14:20:18: Package deploy: Running command "C:/AndroidSDK/platform-tools/adb.exe -s 7daa5efb61fecb72 pull /system/bin/linker D:/Code/build/GGI-AIX2019-Android_for_armeabi_v7a_GCC_4_9_Qt_5_10_1_for_Android_armv7-Debug/linker".
14:20:18: Package deploy: Running command "C:/AndroidSDK/platform-tools/adb.exe -s 7daa5efb61fecb72 pull /system/lib/libc.so D:/Code/build/GGI-AIX2019-Android_for_armeabi_v7a_GCC_4_9_Qt_5_10_1_for_Android_armv7-Debug/libc.so".
14:20:18: Elapsed time: 00:28.

From: Interest <interest-bounces at lists.qt-project.org><mailto:interest-bounces at lists.qt-project.org> On Behalf Of Jérôme Godbout
Sent: November 20, 2018 7:54 PM
To: interest at qt-project.org<mailto:interest at qt-project.org>
Subject: [Interest] Qt Creator Samsung Android gdb can't connect

Hi,
I have an issue when I try to debug under Samsung device (Tab A 2017, S4 or Tablet S7) they all cannot start into debugging, the application start then the gdbserver cannot be reach and Qt Creator think the application is not started (splash screen is visible and wait for gdb), even if the trace are flowing back from the device. All other devices I have (Hopeland, LG…) don’t display this problem. Anybody have any success with running Qt Creator debugger with Samsung Android device?
Sadly I need to debug a Bluetooth bug that only occur with Samsung devices and I’m kind of despair without any debugger.

Qt Creator 4.7.2, Qt 5.10.1, Android SDK 27, Android NDK 17.2.49.

Any tips would be welcome.


une compagnie
RAPPROCHEZ LA DISTANCE

Jérôme Godbout
Développeur Logiciel Sénior /
Senior Software Developer

p: +1 (418) 800-1073 ext.:109

amotus.ca<http://www.amotus-solutions.com/>
statum-iot.com<http://statum-iot.com/>
   <https://www.facebook.com/LesSolutionsAmotus/>


 <https://www.facebook.com/LesSolutionsAmotus/>
 <https://www.facebook.com/LesSolutionsAmotus/>
 <https://www.facebook.com/LesSolutionsAmotus/>

_______________________________________________<https://www.facebook.com/LesSolutionsAmotus/>

Interest mailing list<https://www.facebook.com/LesSolutionsAmotus/>

Interest at lists.qt-project.org<https://www.facebook.com/LesSolutionsAmotus/>

https://lists.qt-project.org/listinfo/interest<https://www.facebook.com/LesSolutionsAmotus/>

_______________________________________________
Interest mailing list
Interest at lists.qt-project.org
https://lists.qt-project.org/listinfo/interest<https://www.facebook.com/LesSolutionsAmotus/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181126/83c4c524/attachment.html>


More information about the Interest mailing list