there was and Android folder created in the root directory (not the platforms directory), after removing this folder the command worked again.