slider

还是菜鸟
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

phonegap3.0 simple

Posted on 2013-11-06 14:20  slider  阅读(297)  评论(0编辑  收藏  举报

  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: