[Interest] Android build fails with "Could not determine java version from '11.0.8'" error

Alexander Dyagilev alervdvcw at gmail.com
Wed May 19 20:40:27 CEST 2021


My project builds fine on my old laptop (Qt Creator 4.15.0 + Qt 5.12.10).

I'm setting up development environment on my new laptop.

Just installed Android Studio + Qt Creator + Qt 5.12.10.

All Android settings are fine in Qt Creator (as it reports).

However, androiddeployqt.exe fails with this strange error. Any help, 
please? :)

21:33:10: Starting: 
"C:\Work\Qt\5.12.10\android_armv7\bin\androiddeployqt.exe" --input 
--android-platform android-30 --jdk "C:/Program Files/Android/Android 
Studio/jre" --gradle
Generating Android Package
   Input file: 
   Output directory: 
   Application binary: 
   Android build platform: android-30
   Install to device: No

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.8'.

More information about the Interest mailing list