Ionic/cordova/android


#1

Hello, I’m trying to run the “cordova build android” on nodejs but it returns this error.

ANDROID_HOME = C: \ Users \ Victor \ AppData \ Local \ Android \ android-sdk
JAVA_HOME = C: \ Program Files \ java \ jdk-9.0.4
(node: 1492) UnhandledPromiseRejectionWarning: Unhandled promise rejection
tion id: 1): CordovaError: Requirements check failed for JDK 1.8 or greater
(node: 1492) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, they will not be handled.
Node.js process with a non-zero exit code.

help?


#2

JDK 9 is not yet supported