Develop a small application for cordova, but when I add the platform I get the following error. I do not know if I'm omitting something.
and if I continue with the cordova build I get this (which I imagine is due to the previous error)
Solve my problem this way:
Remove the previous platform
cordova platform rm android
then, add the platform
cordova platform add android
to finish just execute this command
cordova build android
The difference in this part was that I had not previously placed android at the end
At the end of my apk it was created correctly.