[Interest] Error compiling 5.6.2 Android

Sergio Martins sergio.martins at kdab.com
Thu Dec 15 18:25:47 CET 2016


On 2016-12-14 16:45, Jason H wrote:

> 
> Earlier in the compile I also saw:
> rm -f QtAndroid.jar
> /Users/jhihn/Library/Android/sdk/build-tools/25.0.0/dx --dex --output
> QtAndroid.jar .classes
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> com/android/dx/command/Main : Unsupported major.minor version 52.0

Hi Jason,

I solved this by having Java 8 in the PATH, instead of Java 7.


Regards,
-- 
SĂ©rgio Martins | sergio.martins at kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts



More information about the Interest mailing list