As we saw in a previous post (http://www.huuii.com/people/erick/4720), create and serve an ionic app is really easy since we are able to test the app into the Web browser with ionic serve command.
However, sooner o later, better sooner, we will need to test the app in a mobile device. For this we need to install some tools in our Debian Linux, they are:
Java JDK
To install the default JDK (Java Development Kit) on your system, run:
apt-get install default-jdk
Android Studio
To install Android Studio in Linux you need to download the file bundle from the official page here:
https://developer.android.com/studio/index.html
Once downloaded, unzip it into the directory you choose.
unzip android-studio-xxx.zip
Next you must run the start script which is in the bin/ directory:
cd bin/
./studio.sh
The first time you run Android studio many configuration task must be executed.
Android SDK tools
Finally, we reached the point when we are going to install the tools we need to emulate and download our app in a phone, the Android SDK Tools.
Since we already have installed Android Studio. updated Android SDK tools, platform and component dependencies are available through Android Studio’s SDK Manager. (https://developer.android.com/studio/intro/update.html)
You can find the SDk Manager in: Tools -> Android -> SDK Manager
You need the following components:
That's all!
Now you are ready to develop and deploy your ionic app.
Author: Erick ikki Lopez