【问题标题】:phone gap android environment setupphonegap 安卓环境设置
【发布时间】:2010-11-02 08:12:33
【问题描述】:

我正在尝试为手机差距设置 android 环境,但我一直在得到这个 尝试创建 phonegap 项目时出错。

ruby bin/droidgap create MyTestApp

c:/phonegap-android/lid/create.rb:24:in ``: 

no such file or dirctory - androidsdk-path.bat android.bat 

(Errno::ENOENT) 

from c:/phonegap-android/lib/create.rb:24:in `guess_paths` 

from c:/phonegap-android/lib/create.rb:7:in `initialize` 

from bin/droidgap:24:in `new' 

from bin/droidgap:24:in `<main>'

我已经完成了最后几天的设置。 我还检查了 android sdks 的 PATH 并构建了 在 Eclipse 中测试 android 应用程序。

环境变量中有路径

C:\Ruby192\bin; C:\apache-ant-1.8.1\bin; C:\Program Files\Java\jdk1.6.0_20\bin; C:\android-sdk-windows\tools;

您能给我的任何帮助将不胜感激。

谢谢

苹果机

【问题讨论】:

    标签: android java cordova android-sdk-2.1


    【解决方案1】:

    您还需要将“c:/phonegap-android/bin”添加到您的 PATH。

    更多信息在这里:http://wiki.phonegap.com/phonegap-android-terminal-quickstart

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-09-16
      • 2011-03-06
      • 2012-11-29
      • 2014-05-13
      • 1970-01-01
      • 2012-10-09
      • 1970-01-01
      相关资源
      最近更新 更多