Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 7.0.2
Description
- Create empty Qt Quick application
- Choose Qt 6.2.4 or Qt 6.3 Android armv7 SDK
- Build
I'm getting this error:
FAILURE: Build failed with an exception.* Where: Build file 'C:\Users\alexa\Documents\QtCreator\build-testnewqt-Android_Qt_6_2_4_Clang_armeabi_v7a-Debug\android-build\build.gradle' line: 17* What went wrong: A problem occurred evaluating root project 'android-build'. > Failed to apply plugin 'com.android.internal.application'. > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. You can try some of the following options: - changing the IDE settings. - changing the JAVA_HOME environment variable. - changing `org.gradle.java.home` in `gradle.properties`.
I've checked Qt Creator settings in Tools | Options | Devices - it shows no errors:
Please note that I have no errors building Qt 5.12.12 applications AND I had no errors building applications using maybe Qt 6.2.3(I do not remember exact version and Qt Creator version).
Attachments
Issue Links
- relates to
-
QTBUG-103846 Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
- Closed