Check this discussion https://groups.google.com/g/codenameone-discussions/c/33M_ysTVQ1s On Thursday, January 21, 2021 at 5:34:07 AM UTC-5 P5music wrote:
> As my CodenameOne version of my app is finished, I am curious to see if it > works on real devices. > I want to test on Android first but I get this kind of errors when I > request the Android online build: > C:\Users\myname\IdeaProjects\myapp\build.xml:532: > java.lang.RuntimeException: java.lang.NoClassDefFoundError: > com/sun/xml/bind/v2/model/annotation/AnnotationReader > > I had a similar error in the first attempt. > I had some Java classes that were not used, so I removed them from the > project and I tried again, > to get only an error about the build.xml file generated code portion > having been removed or changed, or something similar. > Then I rebuild the project and invalidated/restart the IDE > to have the reported error above. > When I open the build.xml file there are some parameters in error (red > color) > like > codename1.version, codename1.ios.appid, selectedOfflineBuilder and so on > (25 issues) > Is it JDK8 that is needed? > I use JDK11 that seems to be supported, although in the developer guide > JDK8 is mentioned as a pre-requisite for Android builds. > > Thanks in advance > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/3942c8bb-9aa7-4fbc-ba28-88a8a434f0ddn%40googlegroups.com.
