2014-12-28 264 views
1

PhoneGap構建突然出現錯誤,並且不會爲android生成apk文件。PhoneGap build嘗試構建Android時出現錯誤APK

錯誤是。

Build Date: 2014-12-28 12:02:59 +0000 
 
---------------------------------------------- 
 
debug: 
 
/home/ec2-user/gimlet/var/android/3.6.3/bin/node_modules/q/q.js:126 
 
        throw e; 
 
         ^
 
Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions. 
 
    at /home/ec2-user/gimlet/var/android/3.6.3/bin/lib/check_reqs.js:158:19 
 
    at _fulfilled (/home/ec2-user/gimlet/var/android/3.6.3/bin/node_modules/q/q.js:798:54) 
 
    at self.promiseDispatch.done (/home/ec2-user/gimlet/var/android/3.6.3/bin/node_modules/q/q.js:827:30) 
 
    at Promise.promise.promiseDispatch (/home/ec2-user/gimlet/var/android/3.6.3/bin/node_modules/q/q.js:760:13) 
 
    at /home/ec2-user/gimlet/var/android/3.6.3/bin/node_modules/q/q.js:821:14 
 
    at flush (/home/ec2-user/gimlet/var/android/3.6.3/bin/node_modules/q/q.js:108:17) 
 
    at process._tickCallback (node.js:419:13) 
 
    at Function.Module.runMain (module.js:499:11) 
 
    at startup (node.js:119:16) 
 
    at node.js:906:3

任何幫助,請

+0

我得到相同的錯誤。你沒有做錯任何事,問題就在他們身上。他們很快就會解決。 – Dom

+0

謝謝,我也在phonegap構建支持上發佈了這個問題,並且還看到很多人有同樣的錯誤。 – Yasir

+1

問題似乎已解決,Android版本再次運行。 – Dom

回答

2

這是的PhoneGap構建的服務暫時性的問題。
您只能在稍後再試一次。
今天我得到了同樣的錯誤,幾次。有時它是成功的,有時它失敗了。
我認識到,消除水合幫助更頻繁地獲得成功的構建。

相關問題