phonegap3.0 simple

  environment: window8(64bit)

  First you go to the phonegap site and install it. note that installing your node if you don't installed it on you computer, note you shoud select zip file carefully by 32 or 64.

  now ok, you click the application that named 'node command line', input this command as followings:

npm install -g cordova
cordova create hello com.example.hello HelloWorld
cd hello
cordova platform add android /* or : cordova platform add ios

  after that ,you could import the project by you develop tool. if you are a androider you should select eclipse.

  sometime, it may appear the error: ‘error an error occurred during creation of android subproject’ , you should modify like this:

上一篇:Linux随笔-鸟哥Linux基础篇学习总结(全)


下一篇:GCD 信号量 dispatch_semaphore_t