I am using php and want to craete a android application folder using phonegap.
I tried the following command shell_exec('cd C:\Desktop\phonegap-2.4.0\lib\android\bin && create C:\phpshell3 com2.wesdr.ddxf dcddf')
but it is giving the following error:
Missing one of the following: JDK Android SDK Apache ant
But when i execute the same command directly over command prompt it runs fine. How to execute phonegap-android create command using php script on command prompt?