[Qt-creator] Android debugging in Qt Creator 4.10.2

Assam Boudjelthia assam.boudjelthia at qt.io
Thu Jan 16 14:09:31 CET 2020


Hi Francesc,

I just found out about this JSON issue also. However, if you could use Qt 5.14.0 it works with Qt Creator 11.0 and CMake.

In Qt 5.14.0 all ABIs are installed as one package, and most likely the JSON bug is related to that change.

Best regards,
Assam
________________________________
From: Francesc Martinez <francescmm at gmail.com>
Sent: Thursday, January 16, 2020 3:00 PM
To: Assam Boudjelthia <assam.boudjelthia at qt.io>
Cc: Robert Loehning <Robert.Loehning at qt.io>; qt-creator at qt-project.org <qt-creator at qt-project.org>
Subject: Re: [Qt-creator] Android debugging in Qt Creator 4.10.2

Hi Assam,

The problem of Qt Creator 4.11 is that apparently it has been introduced some breaking changes in the JSON file that is generated as is stated in here: https://bugreports.qt.io/browse/QTCREATORBUG-23306. Since my project is CMake I'm forced to remain at Qt Creator 4.10. If I manage to fix the issues in Qt Creator 4.11 and CMake, I will try that, definitely.

Cheers,
Francesc.

El jue., 16 ene. 2020 a las 13:44, Assam Boudjelthia (<assam.boudjelthia at qt.io<mailto:assam.boudjelthia at qt.io>>) escribió:
Hi Francesc,

Could you please check the tickets Robert pointed to first. I just tested Qt Creator 11.0 with Qt 5.14.0 and the debugger is not crashing (even though that logcat message is thrown). Could you try and test those versions?

> I'm sad to say that nobody is maintaining Creator's Android integration currently, so a fix might take a while.

I'm currently taking care of Android support, but mostly working on a few improvements to the Android support https://bugreports.qt.io/browse/QTBUG-79664, so this will be looked into in a while.

Best regards,
Assam
________________________________
From: Qt-creator <qt-creator-bounces at qt-project.org<mailto:qt-creator-bounces at qt-project.org>> on behalf of Robert Loehning <Robert.Loehning at qt.io<mailto:Robert.Loehning at qt.io>>
Sent: Thursday, January 16, 2020 11:56 AM
To: qt-creator at qt-project.org<mailto:qt-creator at qt-project.org> <qt-creator at qt-project.org<mailto:qt-creator at qt-project.org>>
Subject: Re: [Qt-creator] Android debugging in Qt Creator 4.10.2

Am 16.01.20 um 10:01 schrieb Francesc Martinez:
> Hi all,
>
> I'm running a CMake project and I'm struggling to debug Android build with
> Qt Creator 4.10.2 and Qt 5.13.1. Everything works fine during building and
> deploying. But if I try to debug the build it just crashes with the message:
>
> LOGCAT: The command "/home/<user>/Android/Sdk/platform-tools/adb"
> terminated with exit code 1.
>
> adb: error: listener 'tcp:5039' not found
>
>
> I tried with API 21, 24 and 29. All of them fail.
>
> I tried with different Android devices: Nexus 5, Nexus 6, Samsung Galaxy
> 10e, etc.
>
>
> Does anybody have the same issue?
>
>
> PS: I didn't update to 4.11 because there are several things broken with
> CMake and AndroidDeployQt.

Hi Francesc,

what you write sounds like those report which might be duplicating each
other:

https://bugreports.qt.io/browse/QTCREATORBUG-22098
https://bugreports.qt.io/browse/QTCREATORBUG-23104

I'm sad to say that nobody is maintaining Creator's Android integration
currently, so a fix might take a while.

Cheers,
Robert
_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org<mailto:Qt-creator at qt-project.org>
https://lists.qt-project.org/listinfo/qt-creator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20200116/72f0644c/attachment-0001.html>


More information about the Qt-creator mailing list