Error when "ionic build android"

hello everyone.
I’m newbie in this ionic framework, and I try to make new project and build it. but I have a problem.
when I execute “ionic build android”
I got this error (like in the picture)

please help me guys :cry: because I wanna make some awesome apps using this amazing framework :pensive:

thanks for your attention

Try cordova build android instead of ionic build android

that’s didn’t work.

now I know how to make it works,
the problem is in the Android SDK.
the Android SDK should the new one version

@unamed, please can you help explain your solution better, I have the same problem for some 1 month now, and I am getting mad as days go by