在Intellij IDE中运行Phonegap应用程序时出错

时间:2014-09-16 08:55:15

标签: android cordova intellij-idea

当我在IntellijIDE中运行phonegap应用程序时,我收到以下错误..我尝试了很多方法并设置SDK路径,如statcoverflow中所述 cordova platform add android not working while listing Android targets

但我仍然得到如下错误

/home/swift-03/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:126                     扔e;

                  ^

错误:列出Android目标时发生错误

at /home/swift-03/.cordova/lib/android/cordova/3.5.1/bin/lib/check_reqs.js:87:29

at _rejected (/home/swift-03/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:808:24)

at /home/swift-03/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:834:30

at Promise.when (/home/swift-03/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:1079:31)

at Promise.promise.promiseDispatch (/home/swift-03/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:752:41)

at /home/swift-03/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:574:44

at flush (/home/swift-03/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:108:17)

at process._tickCallback (node.js:419:13)

任何人都可以帮助我..提前谢谢

0 个答案:

没有答案