Table of Contents

How to install Ionic for the Android platform?

Hope you understand

This problems outside the AppBuilder topic are do not cover in our support. We only help fellow as programmers, We only help personally not appbuilder support


  1. Download the NodeJS according to your os: (Download Latest LTS version) and install it
  2. Download Java SE Development Kit 8 (jdk8 or JDK 1.8.x) from this link: and install it
  3. Download the Gradle: and unzip it
  4. Download the Android Studio: and install and update it

Windows User

Setting Environment variables

  1. For Window user, go to Control Panel -» System -» Advanced System Setting -» Tab Advance -» Environment Variables Button, and edit environ for PATH according SDK Build-Tools path

  2. Then click New add new environ for ANDROID_SDK_ROOT and write the variable value according Android SDK path

  3. And click New add new environ for JAVA_HOME and write the variable value according Java SDK path

Update Your Android Studio Configuration

  1. Run your Android Studio -» Welcome Page -» Click Configure -» SDK Manager -» Appearance & Bahavior -» System Setting -» Android SDK -» Select Android SDK Location
  2. Click File -» Choose Your Project -» Add No Activity
  3. Click File -» Setting -» Appearance & Bahavior -» Build, Execution, Deployment -» Gradle, Set Default Gradle Wrapper or Use Local Gradle distribution
  4. Then Click Build -» Build Bundle(s) / APK(s)
Make sure your Android Studio is correct and can create APK File

Install Ionic-CLI

  1. Connect your internet, then run Node.js command prompt or using terminal/bash

  2. Install Ionic CLI globally with npm, type this command:

    npm install -g @ionic/cli

    and also install cordova:

    npm install -g cordova@latest

Test Tools

Make sure nothing comes out: xxxx is not recognized as an internal or external command when running the command below:

  1. Run Node.js command prompt or Terminal, then run this command:
  2. Testing gradle

    gradle --v
  3. Testing Android SDK

    sdkmanager --version
  4. Testing Android SDK

    sdkmanager --version
  5. Testing keytool

  6. Testing jarsigner


Test create an APK File using Ionic-CLI

Please run the following command to create an blank apk file

  1. Go to d:\ for windows users
  2. Create an ionic project
    ionic start "Test App" blank --project-id="test-app" --type=angular
  3. Integrate your new app with Capacitor to target native iOS and Android?
  4. Connect with millions of developers on the Ionic Forum and get access to live events, news updates, and more.
  5. Go to the folder you just created
    cd test-app
  6. Add ionic-native core
    npm install @ionic-native/core@latest --save
  7. Add android platform
    ionic cordova platform add android@latest
  8. [WARN] About to integrate your app with Cordova.
  9. And try to create an apk file
    ionic cordova build android
Don't use the imabuilder until you have successfully created the apk

Last edit: 2021-05-23 10:51:14


For any question about products, please contact email support is: and