I'm getting this error

I tried to execute the command phonegap platform add android on the command prompt inorder to get the cordova-X.X.X.jar file which enables me to use
import org.apache.cordova.Config;
import org.apache.cordova.Droidgap;
on Android Studio
My System Variables are as follows
ANDROID_HOME=E:\Android\sdk\
ANT_HOME=C:\ant\
ANT_OPTS=-Xmx256M
JAVA_HOME=C:\Progra~1\Java\jdk1.7.0_25\jre\
Path= .... C:\Program Files\nodejs\;%ANT_HOME%\bin\;%ANDROID_HOME%\tools\;%ANDROID_HOME%\platform-tools\;
I have to extend my MainActivity class to DroidGap and run super.loadURL("linktomyindexfile"); command.
Thank you
