Ionic 2 apps for Android Platform
Install Android SDK Development Tools (Android Studio)
Look here for Android Studio installation instructions –
Android is Java Based application programming environment, so to use Android Studio, you need to install JDK ie Java Development Kit.The JDK is a development environment for building applications, applets, and components using the Java programming language. The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the Java platform.
Just verify which version of the JDK you have: open a command line and type “
javac -version". If the JDK is not available or the version is lower than 1.8, download the Java SE Development Kit 8.
Now to install above file on your Linux system – Change directory to the location where you would like the JDK to be installed, then move the .tar.gz archive binary to the current directory. The Java Development Kit files will be installed in a directory called jdk1.8.0_ version in the current directory.
Go to root of your ionic application, and add android platform support for ionic application.
ionic platform add android