Discussion:
[Qt-creator] "org.qtproject.example.myapp died" when running Android app
Nikos Chantziaras
2016-11-10 21:29:15 UTC
Permalink
I have a problem when running my app on the android emulator. After a
few seconds (usually between 5 and 10 seconds or so), this is printed on
the "application output" panel:

"org.qtproject.example.myapp" died

And after that, I can't see the output of my application anymore, so all
qDebug() output is lost :-/

The application itself has not died. It's still running fine on the
emulator.

I'm on Linux 64-bit with the latest version of Qt Creator (4.1.0) which
was installed with the Qt online installer (everything is up to date
through MaintenanceTool.) The Android SDK and NDK are also the latest
versions.

Also, this happens with all ABIs and API levels.
Alexandre Pretyman
2016-11-11 01:38:28 UTC
Permalink
Hi Nikos,

Can you define the versions on "The Android SDK and NDK are also the latest
versions."?

Because at http://wiki.qt.io/Android it says:

"Note that NDK r11 and r12 are known to have issues"

I'm using r10e and everything has been positive so far.

Alex
I have a problem when running my app on the android emulator. After a few
seconds (usually between 5 and 10 seconds or so), this is printed on the
"org.qtproject.example.myapp" died
And after that, I can't see the output of my application anymore, so all
qDebug() output is lost :-/
The application itself has not died. It's still running fine on the
emulator.
I'm on Linux 64-bit with the latest version of Qt Creator (4.1.0) which
was installed with the Qt online installer (everything is up to date
through MaintenanceTool.) The Android SDK and NDK are also the latest
versions.
Also, this happens with all ABIs and API levels.
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Alexandre Pretyman
Nikos Chantziaras
2016-11-11 01:43:23 UTC
Permalink
I'm on r13b.

I'll try and downgrade to r10e and see what happens. Naturally, I just
assumed having the latest version would be best :-P
Post by Alexandre Pretyman
Hi Nikos,
Can you define the versions on "The Android SDK and NDK are also the
latest versions."?
"Note that NDK r11 and r12 are known to have issues"
I'm using r10e and everything has been positive so far.
Alex
I have a problem when running my app on the android emulator. After
a few seconds (usually between 5 and 10 seconds or so), this is
"org.qtproject.example.myapp" died
And after that, I can't see the output of my application anymore, so
all qDebug() output is lost :-/
The application itself has not died. It's still running fine on the
emulator.
I'm on Linux 64-bit with the latest version of Qt Creator (4.1.0)
which was installed with the Qt online installer (everything is up
to date through MaintenanceTool.) The Android SDK and NDK are also
the latest versions.
Also, this happens with all ABIs and API levels.
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
<http://lists.qt-project.org/mailman/listinfo/qt-creator>
--
Alexandre Pretyman
Nikos Chantziaras
2016-11-11 02:16:18 UTC
Permalink
Alright, I install r10e, deleted r13b (to make sure Creator doesn't
somehow end up using it), and pointed Creator to the new NDK. Cleaned
the build (did "rm -rf" in the build directory to make extra sure), and
I recompiled the project.

Sadly, the problem is still there :-(
Post by Nikos Chantziaras
I'm on r13b.
I'll try and downgrade to r10e and see what happens. Naturally, I just
assumed having the latest version would be best :-P
Post by Alexandre Pretyman
Hi Nikos,
Can you define the versions on "The Android SDK and NDK are also the
latest versions."?
"Note that NDK r11 and r12 are known to have issues"
I'm using r10e and everything has been positive so far.
Alex
I have a problem when running my app on the android emulator. After
a few seconds (usually between 5 and 10 seconds or so), this is
"org.qtproject.example.myapp" died
And after that, I can't see the output of my application anymore, so
all qDebug() output is lost :-/
The application itself has not died. It's still running fine on the
emulator.
I'm on Linux 64-bit with the latest version of Qt Creator (4.1.0)
which was installed with the Qt online installer (everything is up
to date through MaintenanceTool.) The Android SDK and NDK are also
the latest versions.
Also, this happens with all ABIs and API levels.
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
<http://lists.qt-project.org/mailman/listinfo/qt-creator>
--
Alexandre Pretyman
Vikas Pachdha
2016-11-11 09:13:28 UTC
Permalink
Hi Nikos,

Can you confirm you Android GDB server path? (Preferences -> Build & Run -> Kits -> select your android kit)

Regards,
Vikas Pachdha
Senior Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
***@qt.io
+49 151 74118269
http://qt.io <http://qt.io/>

On 11/11/16 03:16, "Qt-creator on behalf of Nikos Chantziaras" <qt-creator-bounces+vikas.pachdha=***@qt-project.org on behalf of ***@gmail.com> wrote:

Alright, I install r10e, deleted r13b (to make sure Creator doesn't
somehow end up using it), and pointed Creator to the new NDK. Cleaned
the build (did "rm -rf" in the build directory to make extra sure), and
I recompiled the project.

Sadly, the problem is still there :-(
Post by Nikos Chantziaras
I'm on r13b.
I'll try and downgrade to r10e and see what happens. Naturally, I just
assumed having the latest version would be best :-P
Post by Alexandre Pretyman
Hi Nikos,
Can you define the versions on "The Android SDK and NDK are also the
latest versions."?
"Note that NDK r11 and r12 are known to have issues"
I'm using r10e and everything has been positive so far.
Alex
I have a problem when running my app on the android emulator. After
a few seconds (usually between 5 and 10 seconds or so), this is
"org.qtproject.example.myapp" died
And after that, I can't see the output of my application anymore, so
all qDebug() output is lost :-/
The application itself has not died. It's still running fine on the
emulator.
I'm on Linux 64-bit with the latest version of Qt Creator (4.1.0)
which was installed with the Qt online installer (everything is up
to date through MaintenanceTool.) The Android SDK and NDK are also
the latest versions.
Also, this happens with all ABIs and API levels.
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
<http://lists.qt-project.org/mailman/listinfo/qt-creator>
--
Alexandre Pretyman
_______________________________________________
Qt-creator mailing list
Qt-***@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator
Bogdan Vatra
2016-11-11 09:53:45 UTC
Permalink
Does it do the same thin on a real device? I think it might be https://
codereview.qt-project.org/#/c/176022/ , sadly you'll have to wait for
QtCreator 4.2 ...

Cheers,
BogDan.
Post by Alexandre Pretyman
Hi Nikos,
Can you confirm you Android GDB server path? (Preferences -> Build & Run ->
Kits -> select your android kit)
Regards,
Vikas Pachdha
Senior Software Engineer
The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
+49 151 74118269
http://qt.io <http://qt.io/>
On 11/11/16 03:16, "Qt-creator on behalf of Nikos Chantziaras"
Alright, I install r10e, deleted r13b (to make sure Creator doesn't
somehow end up using it), and pointed Creator to the new NDK. Cleaned
the build (did "rm -rf" in the build directory to make extra sure), and
I recompiled the project.
Sadly, the problem is still there :-(
Post by Nikos Chantziaras
I'm on r13b.
I'll try and downgrade to r10e and see what happens. Naturally, I just
assumed having the latest version would be best :-P
Post by Alexandre Pretyman
Hi Nikos,
Can you define the versions on "The Android SDK and NDK are also the
latest versions."?
"Note that NDK r11 and r12 are known to have issues"
I'm using r10e and everything has been positive so far.
Alex
I have a problem when running my app on the android emulator. After
a few seconds (usually between 5 and 10 seconds or so), this is
"org.qtproject.example.myapp" died
And after that, I can't see the output of my application anymore, so
all qDebug() output is lost :-/
The application itself has not died. It's still running fine on the
emulator.
I'm on Linux 64-bit with the latest version of Qt Creator (4.1.0)
which was installed with the Qt online installer (everything is up
to date through MaintenanceTool.) The Android SDK and NDK are also
the latest versions.
Also, this happens with all ABIs and API levels.
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
<http://lists.qt-project.org/mailman/listinfo/qt-creator>
--
Alexandre Pretyman
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
Eike Ziller
2016-11-11 11:11:43 UTC
Permalink
Post by Bogdan Vatra
Does it do the same thin on a real device? I think it might be https://
codereview.qt-project.org/#/c/176022/ , sadly you'll have to wait for
QtCreator 4.2 ...
(or try a snapshot from http://download.qt.io/snapshots/qtcreator/4.2/4.2.0-rc1/618/)
Post by Bogdan Vatra
Cheers,
BogDan.
Post by Alexandre Pretyman
Hi Nikos,
Can you confirm you Android GDB server path? (Preferences -> Build & Run ->
Kits -> select your android kit)
Regards,
Vikas Pachdha
Senior Software Engineer
The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
+49 151 74118269
http://qt.io <http://qt.io/>
On 11/11/16 03:16, "Qt-creator on behalf of Nikos Chantziaras"
Alright, I install r10e, deleted r13b (to make sure Creator doesn't
somehow end up using it), and pointed Creator to the new NDK. Cleaned
the build (did "rm -rf" in the build directory to make extra sure), and
I recompiled the project.
Sadly, the problem is still there :-(
Post by Nikos Chantziaras
I'm on r13b.
I'll try and downgrade to r10e and see what happens. Naturally, I just
assumed having the latest version would be best :-P
Post by Alexandre Pretyman
Hi Nikos,
Can you define the versions on "The Android SDK and NDK are also the
latest versions."?
"Note that NDK r11 and r12 are known to have issues"
I'm using r10e and everything has been positive so far.
Alex
I have a problem when running my app on the android emulator. After
a few seconds (usually between 5 and 10 seconds or so), this is
"org.qtproject.example.myapp" died
And after that, I can't see the output of my application anymore, so
all qDebug() output is lost :-/
The application itself has not died. It's still running fine on the
emulator.
I'm on Linux 64-bit with the latest version of Qt Creator (4.1.0)
which was installed with the Qt online installer (everything is up
to date through MaintenanceTool.) The Android SDK and NDK are also
the latest versions.
Also, this happens with all ABIs and API levels.
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
<http://lists.qt-project.org/mailman/listinfo/qt-creator>
--
Alexandre Pretyman
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
***@qt.io
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
Nikos Chantziaras
2016-11-11 19:35:53 UTC
Permalink
I think that might be it. I hooked up an Adnroid phone (running 4.1.2)
and it works correctly.

I then downloaded all available SDKs and images and tried them one by
one. I kept trying until I've hit one combination that works. The first
that did work was building against SDK 6.0 and running on a 6.0 emulator
image.

So problem solved :-) Running on other image versions still triggers the
bug, but I can live with that.
Post by Bogdan Vatra
Does it do the same thin on a real device? I think it might be
https://codereview.qt-project.org/#/c/176022/ , sadly you'll have to wait for
QtCreator 4.2 ...
Cheers,
BogDan.
Post by Alexandre Pretyman
Hi Nikos,
Can you confirm you Android GDB server path? (Preferences -> Build & Run ->
Kits -> select your android kit)
Regards,
Vikas Pachdha
Senior Software Engineer
The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
+49 151 74118269
http://qt.io <http://qt.io/>
On 11/11/16 03:16, "Qt-creator on behalf of Nikos Chantziaras"
Alright, I install r10e, deleted r13b (to make sure Creator doesn't
somehow end up using it), and pointed Creator to the new NDK. Cleaned
the build (did "rm -rf" in the build directory to make extra sure), and
I recompiled the project.
Sadly, the problem is still there :-(
Post by Nikos Chantziaras
I'm on r13b.
I'll try and downgrade to r10e and see what happens. Naturally, I just
assumed having the latest version would be best :-P
Post by Alexandre Pretyman
Hi Nikos,
Can you define the versions on "The Android SDK and NDK are also the
latest versions."?
"Note that NDK r11 and r12 are known to have issues"
I'm using r10e and everything has been positive so far.
Alex
I have a problem when running my app on the android emulator. After
a few seconds (usually between 5 and 10 seconds or so), this is
"org.qtproject.example.myapp" died
And after that, I can't see the output of my application anymore,
so
all qDebug() output is lost :-/
The application itself has not died. It's still running fine on the
emulator.
I'm on Linux 64-bit with the latest version of Qt Creator (4.1.0)
which was installed with the Qt online installer (everything is up
to date through MaintenanceTool.) The Android SDK and NDK are also
the latest versions.
Also, this happens with all ABIs and API levels.
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
<http://lists.qt-project.org/mailman/listinfo/qt-creator>
--
Alexandre Pretyman
Loading...