0

I have been trying to run my sample ionic application into my actual android device.

I kept on getting this error. Please have a look and tell me how to fix it.

Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=C:\Users\FNSV\AppData\Local\Android\Sdk (DEPRECATED)
Using Android SDK: C:\Users\FNSV\AppData\Local\Android\Sdk
Requirements check failed for JDK 8 ('1.8.*')! Detected version: 16
Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
[ERROR] An error occurred while running subprocess cordova.

        cordova.cmd build android exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.
Punreach Rany
  • 2,560
  • 7
  • 23
  • 56

0 Answers0