On which file? notice that the native side shouldn't include the native interface, it should only be in common.
On Monday, June 14, 2021 at 1:08:30 AM UTC+3 a2nd...@gmail.com wrote: > I generated the native interface but when I try to build it, it says it > can't find com.codename1.system.NativeInterface. > > On Saturday, June 12, 2021 at 9:41:08 PM UTC-4 Shai Almog wrote: > >> The plugin is only applicable to Ant projects not to maven projects. >> For maven Generate Native Interfaces is one of the run configurations. >> On Sunday, June 13, 2021 at 12:01:09 AM UTC+3 a2nd...@gmail.com wrote: >> >>> I'm trying to create a native interface to access android's >>> SpeechRecognitionHelper. Following the manual I created andinterface that >>> extends NativeInterface i.e. >>> >>> import com.codename1.system.NativeInterface; >>> >>> public interface MyNative extends NativeInterface { >>> String getSpeech(String hi); >>> } >>> >>> The manual then says I can generate initial native code by right >>> clicking on the interface and selecting "Generate Native Access" . This >>> option doesn't seem to be available in my setup and I don't know where to >>> go from here. >>> >>> -Dennis >>> >>> -- 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 codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f92ae03a-296a-4042-b5bc-9af764c486e4n%40googlegroups.com.