informaticsEn 2021-10-19 11:16:42

Your First Ionic App

Build Your First Ionic Mobile App

Install package:

apt-get install openjdk-17-jre

See config java:

update-alternatives --config java

Download android-studio:

Linux (64-bit)  android-studio-2020.3.1.25-linux.tar.gz

Install Android Studio

Unpack the android-studio-2020.3.1.25-linux.tar.gz

tar -xzvf android-studio-2020.3.1.25-linux.tar.gz

Copy android-studio  to /usr/local/ as root
# mv -iv android-studio /usr/local/

You need to install libraries for 64-bit machines:

# apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute as regular user account:

cd  /usr/local/android-studio/bin/

sh or ./

The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.

 Ionicframework Environment Setup

Install the Ionic CLI

Your First Ionic App: Angular

$ ionic start myFirstApp

$ Ionic serve

Add a native platform to your Ionic project

$ ionic capacitor add android

Build an Ionic project for a given platform

$ ionic capacitor build android

Ready for use in your Native IDE!

To continue, build your project using Android Studio!

Install the APK generated

Copy the APK generated to smart phone