1

Am trying to create an android phonegap project using the phonegap command line tools on windows. I've set up my system with the correct environment variables after install the JDK and apache ant, the android sdk. After run the create command out of androd\bin folder from the phonegap download on the command line. I get the following message

>     Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved.
>     
>     Creating new android project... Copying template files... Copying js, jar & config.xml files... Copying cordova command tools...
> Updating AndroidManifest.xml and Main Activity...

But on browsing to the project folder the cordova and libs directories are empty, but looking at the sample that came in the download those folders are to contain files. Why cant i find these files especially the cordova.jar and cordova.js, am doing something incorrectly? Please help

4

1 回答 1

0

I have had the same problem here, the script did't want to create my projects, I have set up all PATHS, downloaded all SDKs and tools, removed spaces - still not working.

The problem was, that the script didn't create the project sub directories. An updated/fixed script can be found in this discussion:

https://groups.google.com/forum/?fromgroups=#!topic/phonegap/7wOqriD4YjY

or downloaded directly here:

https://phonegap.googlegroups.com/attach/b2d05c8a6a929569/create.js?view=1&part=4

Greetings!

Asped

于 2013-01-13T14:07:19.263 回答