How on Ot6 compile for Android
-
@Mihaill said in How on Ot6 compile for Android:
Whot me need do?
You need to explain what "but I can't build for Android" means exactly.
How else should anybody know what the problem could be? -
@Mihaill said in How on Ot6 compile for Android:
Whot information you need?
An explanation what EXACTLY does not work...
-
If I use jdk 11, then I get error: fro SDK not higher 26 need jdk only 1.8. And build not work.
orAndroid build SDK version is not defined. Check Android settings.
-
@Mihaill said in How on Ot6 compile for Android:
My android device use arm cpu
But the build is on your PC, not the device, right?
You should check your Android Kit - are there any warnings/errors? -
@Mihaill There were a couple of mayor changes in Android/gradle between SDK versions, Qt6 uses a much newer version of android/gradle than qt5 does.
I would suggest, creating a simple qt android project using Qt6, use QtCreator do create default android templates.
See if that compiles (I assume it will) check the difference in the android template files and change your existing one accordingly.
-
I change options, use jdk 11 and now get only 1 error: importing a package requires a version number