0
I’m new to IONIC, I’m trying to generate project APK, but I can’t, by putting the command ionic cordova buid android
load the data, and display the message:
Android Studio project detected
Failed to run "javac -version", make sure that you have a JDK installed.
You can getit from: http://oracle.com/technetwork/java/javase/downloads.
Your JAVA_HOME is invalid: C:\Program Files\Java\jre1.8.0_201
[ERROR] An error occurred while running subprocess cordova.
Is installed the JDK
and there is the way of JAVA_HOME
.
Could you help me, please.
Are you using Windows as a system? Try running as an administrator if you are Windows
– Péttrin Miranda
I am using Windows yes and already signed in as Administrator.
– Aldo Moreira F.