Skip to Content
avatar image
Former Member

SAP HAT Error during Check Hybrid Development Prerequisite Android SDK

Hey Com,

i am try to install the Hybrid App Toolkit on Mac and reached the point where I am able to Start the HAT, but not able to get through "1. Check Hybrid Development Prerequisite". After some fixes I still get an error in "3. Android SDK" and "5. Cordova Build Android Project".

Below is my Error from "3. Android SDK". I noticed during research that the Java/sml/bind/.. library isn´t supported any longer in JDK9. Did anyone have a similiar error during the Hybrid App Toolkit Installation on iOs?

Kind regards

Daniel

Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema

at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)

at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)

at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)

at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213)

at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)

Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema

at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)

at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)

at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)

... 5 more

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jan 18 at 05:05 PM

    Solved. I needed to downgrade to idk 8

    Add comment
    10|10000 characters needed characters exceeded