Build and Run Your Hybrid App on Android
Before building, be sure that you’ve installed Android Studio, including
Android SDK and at least one Android emulator. Refer to the Android requirements for Mobile SDK to make sure
you install the correct versions of the Android components.
- Launch Android Studio.
- From the welcome screen, select Import project (Eclipse ADT, Gradle, etc.). Or, if Android Studio is already running, select .
- Select <your_project_dir>/platforms/android and click OK. If you’re prompted to use the Gradle wrapper, accept the prompt.
- After the build finishes, select the android target and click Run ‘android’ from either the menu or the toolbar.
- Select a connected Android device or emulator.