Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt 5.13 and Android
Hi, I have a Debian 10 machine with java 1.11.
When I try to build an Android app, gradle is required. If gradle is not present in the machine a gradle package will automatically downloaded.
The problem is that will be downloded the 4.6 version that does not support java 1.11.
If I download the latest gradle how can I setup its path?
How can I use ant instead of gradle? The ant path configuration was been removed from QtCreator.
you actually don't use ANT, it's no longer supported for Android, I would suggest moving away from it as well.
I would suggest taking a look at the docs
they have a rather detailed explanation on how to get started with Qt for android, for all Development systems.
Besides that take a look at this blog post
It targets the 64/32 bit App Store stuff, but Eskil Abrahamsen Blomfeldt also does an excellent job at explaining trip falls for the development environment setup
The problem is that the sdk setup wants the old gradle 4.6. The old gradle wants the old java 8 (why a java software wants a specific java version? So it is not so well made).
The latest gradle 5.6 works with java 11 but the android sdk wants the old gradle.
With ant I don't remember problems like that.
The problem is that the sdk setup wants the old gradle 4.6.
what sdk setup are you talking about
Fortunately, download the java 8 as tar in a folder without to install it it is enough.
Qt Creator can manage the java path without to have it in the standard paths.