Phonegap 3.0.0 issues

来源:互联网 发布:王传君我不喜欢知乎 编辑:程序博客网 时间:2024/06/05 15:16

https://github.com/phonegap/phonegap-cli/issues/121



The issue was can not create phonegap project after node.js, the error is something like there is no index in www dir


The solution is:

After deleting the dir [C:\Users\username\.cordova\lib\www\phonegap\3.0.0], and recreate the project, the node.js will down all phonegap package

if some error message shows up ,like can not locate ant.bat,download Apache ant at:http://ant.apache.org/bindownload.cgi

after add ant/bin to system varibles path, close the node terminal and open again

redo the phonegap run android | or IOS command to compile and install the app for you.



when adding plugin to phonegap ,if there some error shows up like can not define git command ,just goto https://code.google.com/p/msysgit/ to install git and add git/bin to system varibles

C:\gangchouPhoto>phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git[phonegap] adding the plugin: https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git[phonegap] successfully added the plugin



原创粉丝点击