-2
I’m starting in Cordova and decided to try for Visual Studio Community 2017, which I successfully installed, only the Tools Package for Apache Cordova + Android SDK, Google Emulator. So, I created a new project, blank, standard, so it doesn’t get complicated, and I tried to compile, which returns me the output below, even restarting the VS.
This is the screen with the VS installation settings:
here is the screen with the output (errors):
What’s wrong? What’s missing?
the error is exactly what is written there, is not finding the java. See if it is installed correctly and if the tbm environment variables are, for example
PATH
– Ricardo Pontual
@Ricardo Punctual... perfect! that was it! I installed the JDK, I ran it again and it worked. Thank you. Oh, put as an answer for me to score.
– Fernandes
done. I’ve had this problem too, install too much and always something doesn’t work, either Java or CLI, or Node....
– Ricardo Pontual