Android Phone Gap在创建项目时出错

时间:2010-12-15 22:30:13

标签: android cordova

我正在尝试安装Android和手机差距。当我尝试使用Phone Gap命令提示符C:/Ruby192/bin/ruby bin/droidgap create "C:/Users/sureshn/Desktop/Ph oneGap/Android/PhoneGapAndroid/phonegap-phonegap-android-ab8950a/SureshWorld创建一个Android项目时 我收到以下错误

"C:/Users/sureshn/Desktop/PhoneGap/Android/PhoneGapAndroid/phonegap-phonegap-andr
oid-ab8950a/lib/create.rb:24:in ``': No such file or directory - android-sdk-pat
h.bat android.bat (Errno::ENOENT)
        from C:/Users/sureshn/Desktop/PhoneGap/Android/PhoneGapAndroid/phonegap-
phonegap-android-ab8950a/lib/create.rb:24:in `guess_paths'
        from C:/Users/sureshn/Desktop/PhoneGap/Android/PhoneGapAndroid/phonegap-
phonegap-android-ab8950a/lib/create.rb:7:in `initialize'
        from bin/droidgap:24:in `new'
        from bin/droidgap:24:in `<main>'"

我的路径设置为

C:/Ruby192/bin;
C:/Users/sureshn/Desktop/PhoneGap/Android/Apache Ant/apache-ant-1.8.1/bin;
C:/Program Files/Java/jdk1.6.0_23/bin;
C:/Users/sureshn/Desktop/PhoneGap/Android/AndroidSDK/android-sdk-windows/tools;
C:/Users/sureshn/Desktop/PhoneGap/Android/PhoneGapAndroid/phonegap-phonegap-android-ab8950a/bin;

我还设置了ANDROID_HOMEANT_HOMEJAVA_HOME变量。 在我做错的地方,大师能把光线扔给我吗? 感谢

0 个答案:

没有答案