cmd. exe failed with args.

I think you may missing NDK

https://developer.android.com/ndk/downloads

If you installed CodeWorks (which is recomanded version od SDK) you should have option to install NDK in Chooser.exe