gpt4 book ai didi

android - Windows 上 Eclipse 3.7 中的 Phonegap 1.3.0

转载 作者:行者123 更新时间:2023-11-30 04:23:52 28 4
gpt4 key购买 nike

我遵循了他们的“操作方法”: Phonegap Start Phonegap wiki

我已经成功安装了android sdk,但是我无法安装phonegap 1.3.0。我卡在了这一步:

Step 4. Build the Example PhoneGap App

4A. Open a command window and change directory ('cd') to the 'phonegap-android' folder. In Windows, use git bash as the command window. In Mac OS, use Terminal.

4B. Run the following command. This will create a PhoneGap.jar file and create a basic Android Eclipse project in the output path that can then be opened in Eclipse.

NOTE: The droidgap script has been updated and now there are two methods to create the necessary files. The new script is significantly simpler to use than the old method. For those who prefer the old method, it is still available.

NEW METHOD:

4C. From the 'phonegap-android' folder, run 'ruby bin/droidgap create [path_of_application]'. For the example app, the command would be 'ruby bin/droidgap create example'. If the example folder does not exist inside 'phonegap-android', run 'ruby bin/droidgap gen' first.

这些是我采取的步骤:

  • 我已经从 git 下载了回调包(参见 wiki)
  • 我运行 git bash --> cd 到 phonegap-android 文件夹
  • 我运行这个命令:'ruby bin/droidgap gen'
  • 然后我得到:没有这样的文件或目录 -- bin/droidgap(loadError) 和 idd 文件不存在。

我找不到 droidgrap,他为我提供了答案......旧方法也不起作用,因为我需要那个 2 的 droidgap。

最后我想为我的 android 设备开发一个 Sencha 网络应用程序。我忘记了什么.... :'(

最佳答案

PhoneGap wiki 上记录的 AppLaud Eclipse 插件 here无需 droidgap 或任何其他配置。它的向导会创建一个完全配置的 PhoneGap for Android 项目。

(注:我开发了AppLaud插件)

关于android - Windows 上 Eclipse 3.7 中的 Phonegap 1.3.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8858495/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com