Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator Devices Android cannot add new AVD java.lang.NoClassDefFoundError
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sriep
    wrote on last edited by Sriep
    #1

    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.

    1 Reply Last reply
    0
    • O Offline
      O Offline
      Ouck
      wrote on last edited by Ouck
      #2

      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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved