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.
  1. Install Java JDK

  2. Install Android Studio

    Download here

  3. Install Gradle

    $ brew install gradle
    
  4. Install Android SDK (select target version)

  5. SDK License Agreement

    $  ~/Library/Android/sdk/tools/bin/sdkmanager --licenses
    
  6. Enable Developer Mode on Android phone and connect to computer

    $ adb devices
    
  7. 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.

Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover