0
votes

i am facing this error when i want to run ionic build android command. i tried everything and obviously i have no idea what to do here .

i have SDK and JDK , Gradle and other things . if i run the ionic serve command it works with no problem and the app shown in the browser but i can't build the app with build command .

i installed the cordova and ionic using this tutorial http://learn.ionicframework.com/videos/windows-android/ and i think i dont miss anything around here .

when i run android command , it shown up the android sdk manager with the API installed , when i run gradle it works . but this one does not work

here is the picture of the error :

ionic error

1

1 Answers

2
votes

This happens to me with ios builds and re-installing the platform will always worked for me. try that

ionic platform remove android

ionic platform add android

read here on almost the same thing (but with ios)

HTH