Error in Ionic: "Error: No platforms added to this project"

1

When executing the ionic build andorid command I get the following error:

Error: No platforms added to this project. Please use 'cordova platform add <platform>'.

Could someone help me?

    
asked by jose 21.01.2016 в 00:55
source

1 answer

1

Before doing ionic build android you must add the platform:

$ ionic platform add android
... 
$ ionic build android
...

Please note that in order to make build of Android you must have installed and configured the Android SDK

For more information you can visit:

answered by 21.01.2016 / 01:08
source