The Android platform throws an error in my Windows 7 by adding cordova. I have ensured that all my paths work fine.
Java-version
Ant-break works fine
Android also works fine
C: \ user \ Kirthi \ hello & gt; The Cordova-D platform is already available for the Android Cordova Library "Android" and there is no need to download it. If the platform being tested "Android" passes the minimum requirements, then ... the Android project is making ... bin running / platform "Android" ready for the command: "" C: \ Users \ kirthi \ .cordo va \ lib \ Android \ Cordoba 3.3 \ .0 \ bin \ create "" C: \ Users \ kirthi \ Hello \ platform \ andro id "" com.hello.com "" HelloWorld "" (to follow the output ) Error: An error occurred during the creation of the Android sub-project. On Celsius: \ Users \ kirthi \ AppData \ Roaming \ NPM \ node_modules \ Cordoba \ src \ platform.js: 282: 30 at exithandler (child_process.js: 633: 7) ChildProcess.errorhandler (at child_process.js: 649: 5 ) ChildProcess.EventEmitter.emit (at events.js: 95:17) Process.ChildProcess._handle.onexit (at child_process.js: 795: 12)
In the case of an error adding Android platform, if you are wrong, you can run the following commands to get more information:
%. USERPROFILE% \ Cordoba \ lib \ Android \ Cordoba \ 3.3.0 \ bin \ check_reqs.bat
In your case:
'cscript' is a Internal or external commands are not recognized as operative programs or batch files
If you have cscript.exe in the % systemdrive% \ windows \ system32
folder And check that% systemdrive% \ windows \ system32 is in your path (if your system is in C drive, you should see C: \ windows \ system32 where you run the command
From The path to
(Perhaps you had modified it to add anti and SDK along with the disturbance?)
- If C: \ windows \ System32 is in path and if cscript.exe is in this folder, try running cscript in shell and see that it outputs errors
- If C: \ windows \ system32 is not in the path Then correct the path
- If you are not getting C: \ windows \ system32 \ cscript.exe, then perhaps you have
Windows Scripting Host
from the window features?
Comments
Post a Comment