6,323
edits
Line 26: | Line 26: | ||
<pre>npm install -g cordova</pre> | <pre>npm install -g cordova</pre> | ||
cordova -v : 3.6.3-0.2.13 | <pre>cordova -v : 3.6.3-0.2.13</pre> | ||
Install your platforms | Install your platforms | ||
Line 33: | Line 33: | ||
cordova platform add android | cordova platform add android | ||
</pre> | </pre> | ||
=== | === Errors === | ||
==== "error android_home is not set and android command not in your path" when doing "cordova platform add android" ==== | |||
**Install Eclipse ADT (Note : for win8 32bit/64bit install 32bit ADT) | **Install Eclipse ADT (Note : for win8 32bit/64bit install 32bit ADT) | ||
Line 44: | Line 44: | ||
*** C:\Users\Stéphane\AppData\Roaming\npm;C:\Users\Stéphane\AppData\Local\Android\android-sdk\tools;C:\Users\Stéphane\AppData\Local\Android\android-sdk\tools;C:\Users\Stéphane\AppData\Local\Android\android-sdk\platform-tools | *** C:\Users\Stéphane\AppData\Roaming\npm;C:\Users\Stéphane\AppData\Local\Android\android-sdk\tools;C:\Users\Stéphane\AppData\Local\Android\android-sdk\tools;C:\Users\Stéphane\AppData\Local\Android\android-sdk\platform-tools | ||
"error failed to run javac -version make sure" | ===="error failed to run javac -version make sure" ==== | ||
Java JDK | Java JDK |