I'm trying to add android platform using cordova but i'm getting that error.
I have problem adding wp7, wp8 and windows 8 as shown below:
I tried a few things found here Phonegap Build android - error "Adding the android platform" ENOENT but doesnt help me. Anyone have any idea how to solve this??
Download and install node.js
http://nodejs.org/
Install ant using brew and set
ANDROID_HOME
to your path.Download and install Homebrew by executing following command in terminal:
Install Apache Ant via Homebrew by executing
set
ANDROID_HOME
to your pathIf after type
android
incmd
says:'xcopy' was not recognized.
then add to your path:
%SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem;
After 3 days trying to solve the same issue, finally I found the solution. Thank's to: Installing Phonegap on Windows 7 : The command 'android' failed (I can't add comments yet)