Hello. I've installed the following prerequisites for PhoneGap:
- Java JDK
- Android开发者_JAVA百科 SDK + ADT Plugin
- Eclipse
- Ruby 1.9.2
- Apache ant
I also added the path to the environment variable. However, when I try to launch with the command:
ruby ./droidgap "[android_sdk_path]" [name] [package_name] "[www]" "[path]"
I receive this error:
Ruby: No such file or directory -- ./droidgap (LoadError)
It looks like you need to run that command in the directory where the droidgap
script lives.
Or checkout the Eclipse plugin here to avoid the need for droidgap or ruby to get started with PhoneGap on Android
精彩评论