我正在尝试安装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_HOME
,ANT_HOME
,JAVA_HOME
变量。
在我做错的地方,大师能把光线扔给我吗?
感谢