Qt Creator Devices Android cannot add new AVD java.lang.NoClassDefFoundError



  • Hi

    I am trying to set up QtCerator for Android development.

    In Options/Devices/Android I select Add (Create new AVD) and whatever options I choose I get an error.
    Exception in thread main java.lang.NoClassDefFoundError.javaz/aml/bind/annotation/XmlSchema

    My JDK location is C:\Program Files (x86)\Java\jdk1.8.0_131
    I have all green ticks.

    This is on Windows 10, but similar thing happens on Mac but I there I just get a java Null pointer error.



  • Hi

    Same for me when I try to create an AVD:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema

    I have all green ticks too but I use Windows 7.

    jdk 1.8.0-152
    SDK 26.1.1
    NDK 16.1.4479499
    ABI armeabi-v7a
    API android-21


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.