Can't ionic build android

Having trouble building my app to android. I updated the ANDROID_HOME pointing to my SDK files but still an error.

Upgrade to cordova-android 6.2.2:
cordova platform update android@6.2.2

1 Like

ITS WORKING!! Thanks :smiley:

1 Like

It’s finally continued building the app but mid way it shows this error.

What should I do about this??

Google and search the forum for the error message. If you don’t find a solution after a few dozen minutes of searching, you can create a new topic here. (Please don’t post error messages as images but copy/paste them as text).