Generating a Android APK using phonegap

Hi All, I’m trying to generate the Android APK using PhoneGap, and follow the same steps  ( [Error]     Failed to run "javac -version", make sure that you have a JDK version 8 installed. But I installed the JAVA 8 and I set the environment variables in my system,  [Steps] Open a terminal window and change directory into the unzipped package folder Run npm i && npm run package && npm run platform:android npm run build -- android --release    I searched in Google, Problem in JAVA command, in command line instead of javac, Java command is working   Thanks  ANil
0 answers