Android Environment Setup for Ionic Development
·
1 min read
·
110
Words
·
-Views
-Comments
Environment setup isn’t necessarily difficult, but it’s never completely smooth sailing.
- These brief instructions aim to help friends developing Android apps with Ionic.
- I’m a dedicated Mac user, so commands are primarily for macOS. Windows users should search for equivalent commands, as they’re generally similar.
Install Java JDK
Install Android Studio
Download here
Install Gradle
$ brew install gradle
Install Android SDK (select target version)
SDK License Agreement
$ ~/Library/Android/sdk/tools/bin/sdkmanager --licenses
Enable Developer Mode on Android phone and connect to computer
$ adb devices
Hot reload and run on physical device
$ ionic cordova run android -l
The above steps will quickly set up Android development and debugging for Ionic.