Check out this guide on porting an Android app to iOS with Codename One. Notice that you will need to redo a significant portion of the code

We don't support Android Studio. Only IntelliJ/IDEA which is technically very similar only faster. Android Studio broke some functionality that we need in IntelliJ and offers no advantage for Codename One development. Since we don't support the Android API's outside of native code there is no need for that.

You can access Android "native" functionality (i.e. the full Android API) using native interfaces. See this video for an introduction to that concept:
Was this article helpful?
Thank you!