vzhen
June 4, 2014, 2:25am
1
I’m sorry, this may off topic to ionic but without setting up cordova android enviroment on my windows7. I cannot start anything.
I always get this error when running cordova platform add android
“executing command ‘ant’ make sure you have ant installed and added to your path”
you can check my full details here.
android, cordova, ant
max
June 4, 2014, 3:26am
2
Hey @vzhen , I suggest reading through the Android Platform Guide again and make sure you follow all the steps correctly. Android can be difficult to set up correctly: https://cordova.apache.org/docs/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide
@max got it spot on.
I will give you a tip half the time the problem with set up is with the environmental variables for Java, Ant and the android SDK. Sort those out via the guide on the Cordova website and bam you good to go.
vzhen
June 4, 2014, 4:52am
4
My problem solved.
Anyone have the same issue please check my the above stackoverflow question. The answer is there.
vzhen
June 4, 2014, 4:52am
5
My problem solved.
Btw, their guide is just rubbish.