- We'll start by opening the new project's Android code in Android Studio. From the Android Studio welcome screen, you can select Open an existing Android Studio project, then select the android directory inside of the project folder.
- Once the project has loaded, let's open the project explorer (that is, the directory tree) on the left side of Android Studio and expand the package structure to find the Java source files, which should live in app/java/com.nativemoduleapp. The folder should already have two .java files in it, MainActivity and MainApplication:
- Right-click on the com.nativemoduleapp package, select New | Java ...