问题
Hello I am trying to create new android project with phonegap, but I want not to be HelloWorld So in the console I type with this syntax: phonegap create [folder-name] [namespace] [project-name]
And if I type something like this: phonegap create evilworld com.example.evilworld evilworld
phonegap create new folder named evilworld, but in the config file nothing's change! it is again with the hellowrold stuff.
Is someone know how may I fix that because I need to create multiple projects on my machine? Thanks
回答1:
I think the same like PurpleDroid. The mistake must be anywhere, but not at cordova. The command seems fine. Here's a detailed explanation of how to create a Project ->
- Open Terminal
- cd ~/desktop
- cordova/phonegap create test com.example.test test
- cd /test
- cordova platform add XXXX
- cordova plugin add XXXX
- cordova build
and after that all u should have your stuff named the right way. Maybe u have to make an Update to a new phonegap version?!
回答2:
Since a few hours research I think I found the problem. First of all I installed cordova. Second I add the git global variable. Then the phonegap project run just fine
来源:https://stackoverflow.com/questions/24605033/new-phonegap-project-always-list-helloworld