title: Problem with the command ionic cordova build android
body: <p>I have a problem with  the command ionic cordova   build  android.When I try to launch this command I have this  error > cordova build android
  Checking Java JDK and Android SDK versions
  ANDROID_SDK_ROOT=undefined (recommended setting)
  ANDROID_HOME=/usr/lib/android-sdk (DEPRECATED)
  Requirements check failed for JDK 8 ('1.8.*')! Detected version: 11.0.3
  Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
  [ERROR] An error occurred while running subprocess cordova.</p>