I have made a new Ionic / Cordova project and I\'m trying to build it on windows 8.1. I installed JDK and JRE 7 as well as android sdk and ant and added them to my path usin
After I ran into the same issue, the following steps seems to have fixed it:
PATH
needs to contain the bin folder of the Java installation path C:\Program Files\Java\jdk1.8.0_05\bin
make sure the bin
is includedJAVA_HOME
needs to be set to the root of that Java installation folder, in my case C:\Program Files\Java\jdk1.8.0_05