ngCordova "android update platform"

Hi,

I’m not sure if this question fits this forum, nor I can ask such question on Stackoverflow.

I’m trying to install Facebook SDK native plugin into cordova and here’s what the documentation says:

Type in your console the follow commands:

And then there’s the:
android update project --subprojects --path "platforms/android" --target android-19 --library "CordovaLib"

I’m almost sure there’s no such command in cordova’s project root folder. What they meant by this line?

Thanks

EDIT (FOR OSX):

in terminal type:

vi ~/.bash_profile

add to the end of the file:

export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$ANDROID_HOME/tools:$PATH
export PATH=$ANDROID_HOME/platform-tools:$PATH

then:

source ~/.bash_profile

Solved