Now that VS 2017 is out, I cant get ionic to build for android ionic build android
even after selecting all the options for mobile dev when installing vs 2017.
However, if i Install vs 2015 as outlined by ionic team then everything works, I am trying to avoid installing both vs2015 and vs2017
For those that are wondering, i selected everything (individual components) when installing vs 2017 and then i was getting the ANDROID_HOME not found, i got past that by running
set ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
set PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools
but now the other error I am getting is
Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap
Following all suggestions of fixing this bug on SO did not solve the problem, only solution is to install vs2015 first and then upgrade java to 1.8