Error: Ionic framework android platform

I am new to ionic framework and facing issue in adding android platform. when i run this command

ionic platform add android

i get error

command failed with code ENOENT

I've spend whole my day for solving this problem but failed.. i've set set all enviromental variables but still getting this error :(

Pleased suggest any solution to this

i've found the solution. C:Windows\System32 was missing in Path variable