I am adding some native iOS functionality to my CodenameOne app.
I am just at the beginning.
I created this Interface
import com.codename1.system.NativeInterface;
public interface VoiceInput extends NativeInterface {
public boolean isSupported();
}
This is the bare minimum.
When I try to run "Generate Native Access" from the menu I get this, what's wrong? Thanks in advance.
-pre-init
Generating GUI sources
...
Processing GUI builder file: /home/pc/IdeaProjects/myappcp/src/com/myappcp/app/OneContainer.java
Attempting to generate GUI sources for /home/pc/IdeaProjects/myappcp/res/guibuilder/com/myappcp/app/OneContainer.gui with System JAXB
...
Processing GUI builder file: /home/pc/IdeaProjects/myappcp/src/com/myappcp/app/OneContainer.java
Attempting to generate GUI sources for /home/pc/IdeaProjects/myappcp/res/guibuilder/com/myappcp/app/OneContainer.gui with System JAXB
Failed to generate Gui Source with System JAXB. Will attempt using bundled JAXB.
ago 23, 2020 10:02:55 AM com.codename1.build.client.GenerateGuiSources generateGuiSource
INFORMAZIONI: null
/home/pc/IdeaProjects/myappcp/build.xml:529: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/model/annotation/AnnotationReader
/home/pc/IdeaProjects/myappcp/build.xml:529: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/model/annotation/AnnotationReader
/home/pc/IdeaProjects/myappcp/build.xml:529: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/model/annotation/AnnotationReader
Ant build completed with 3 errors and 2 warnings in 1s at 23/08/20, 10:02