IONIC BUILD ANDROID ERROR YOU may not have the required enviroment


#1

Im triying to build an android projectc with ionic build android, i am using a default aplication using the following command:

ionic start sideApp sidemenu

then i add the android platform:

ionic platform add android, and i get:

then i try to buld it:

ionic build android and i get this error:

i have follow this video: https://www.youtube.com/watch?v=RNrNIHQ9cWo and this is what i have installed in the SDK

none of the solutions mentioned in the forum helped me


#2


#3

Hmm, could you try ionic build android -d and paste the output?


#4

same error


#5

So lets try this, can you try to run these commands and see if you get any output.

android - should bring up the android sdk manager
java - should return a list of options from java


#6

I already did all that , I followed the tutorial in this video https://www.youtube.com/watch?v=RNrNIHQ9cWo , and all that is up and running


#7

Hmm, not sure what the issue could be then.

Does this happen with a default cordova project?
Another option would be to go through this setup and let it make sure everything is configured correctly

https://www.visualstudio.com/en-us/features/cordova-vs.aspx


#8

the problem is still