I wanted to start android developing with QT, but ran into a problem.
Qt version is 5.12.12
Installed offline, didnt turn off anything in installation.
Im running standart project, hello world, here is errors
The thing is - emulator starts, but doesnt launch project.
Found on qt forum, that I need to downgrade java to 1.8 or lower, the thing is - on picture you see already downgraded java. I started with 1.9, went to 1.8 and now on 1.6, nothing changes, exept error changing mentioned java version. Probably will try even lower one, but hopes are low.
Oh god I didnt expect this rabit hole to be so deep. First thing - Thanks to Elikill58, he's a god. I dont yet know if JDK change any-thing. I managed to start project on java 8 update 361, Eclipse Foundation\jdk-16.0.2.7-hotspot, but I guess it has nothing to do with java or JDK, untill its not 10 years old. What I did:
Download and install Gradle
Create a new project
Run it once
Go to generated folder->android.build->gradle.properties.
In my case - its 7.4.2, I changed it to this, it was 3.2.0. You also need to go to android-build\gradle\wrapper->gradle-wrapper.properties and change it to gradle you install (cmd - "gradle --version"). Those versions may not be the same, its ok. And after that I managed to lauch a project. I dont know, maybe you could run gradle init in project folder, will check this later, untill then - this is a working methon on QT 5.12.12
You may read Gradle: Could not determine java version from '11.0.2' article, it didnt help me, but it gave me right direction.
Keep in mind - before that I had Android Studio installed and I was thinking, that it installed everything for me.