patrickinminneapolis opened a new issue, #1665:
URL: https://github.com/apache/cordova-android/issues/1665

   I build to cordova android@12 with OpenJDK 11 and gradle 8.3.  I'm using 
Android SDK Tools 33.0.2.  Android Studio list a virtual device targetting API 
33.  
   
   The .apk builds ok and runs on Windows Subsystem for Android, so I think its 
fine, but I can't run in with 'cordova run' (which I need for debugging) -- I 
get the same error with 'cordova run' that I get with 'cordova requirements'
   
   Command failed with exit code 1: avdmanager list target
   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:178)
           at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
           ... 5 more
   
   All results on google talk about downgrading to Java 8, but that can't be 
the way forward.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to