3
我想開始開發的東西與PhoneGap的,我跟在他們網站上的說明:http://phonegap.com/install/無法運行「PhoneGap的運行Android的」,拋出異常
當我執行「PhoneGap的運行Android的」它給了我一個錯誤我無法找到如何解決。下面是我的控制檯輸出:
C:\Users\Christian>phonegap create my-app
[phonegap] missing library phonegap/www/3.3.0
[phonegap] downloading https://github.com/phonegap/phonegap-app-hello-world/arch
ive/3.3.0.tar.gz...
[phonegap] created project at C:\Users\Christian\my-app
C:\Users\Christian>cd my-app
C:\Users\Christian\my-app>phonegap run android
[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] adding the Android platform...
[phonegap] missing library cordova/android/3.3.0
[phonegap] downloading https://git-wip-us.apache.org/repos/asf?p=cordova-android
.git;a=snapshot;h=3.3.0;sf=tgz...
[error] An error occured during creation of android sub-project.
C:\Users\Christian\.cordova\lib\android\cordova\3.3.0\bin\node_modules\q\q.js:12
6
throw e;
^
Error: An error occurred while listing Android targets
at C:\Users\Christian\.cordova\lib\android\cordova\3.3.0\bin\lib\check_reqs.
js:87:29
at _rejected (C:\Users\Christian\.cordova\lib\android\cordova\3.3.0\bin\node
_modules\q\q.js:808:24)
at C:\Users\Christian\.cordova\lib\android\cordova\3.3.0\bin\node_modules\q\
q.js:834:30
at Promise.when (C:\Users\Christian\.cordova\lib\android\cordova\3.3.0\bin\n
ode_modules\q\q.js:1079:31)
at Promise.promise.promiseDispatch (C:\Users\Christian\.cordova\lib\android\
cordova\3.3.0\bin\node_modules\q\q.js:752:41)
at C:\Users\Christian\.cordova\lib\android\cordova\3.3.0\bin\node_modules\q\
q.js:574:44
at flush (C:\Users\Christian\.cordova\lib\android\cordova\3.3.0\bin\node_mod
ules\q\q.js:108:17)
at process._tickCallback (node.js:415:13)
C:\用戶\基督教\ MY-應用>