Cordova - add platform

1

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)

    
asked by CesarG 26.02.2018 в 16:10
source

1 answer

1

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.

    
answered by 26.02.2018 в 17:54