there was and Android folder created in the root directory (not the platforms directory), after removing this folder the command worked again.
Remove the android folder from your project . its the very first folder at the beggining of your project work space