How to install all the pluging in linux


#1

Hi. Last year I used to create ionic application with Linux Opertive System. But after a year, I am having lot of errors:

ionic CLI 4.2.1
cordova 8.1.2 (cordova-lib@8.1.1)
Ionic:

   ionic (Ionic CLI) : 4.2.1

System:

   NodeJS : v10.12.0
   npm    : 6.4.1
   OS     : Linux 4.15

jdk 
sdk
android

sudo ionic cordova build android

error:

Android Studio project detected
ANDROID_HOME=/home/informatika/Android/Sdk
JAVA_HOME=/usr/lib/jvm//jdk-11.0.1 
Requirements check failed for JDK 1.8
[ERROR] An error occurred while running subprocess cordova.
        
        cordova build android exited with exit code 1.
        
        Re-running this command with the --verbose flag may provide more 
        information.