Android Build fails - "ANDROID_HOME is not set"

  • 38
  • Problem
  • Updated 6 years ago
  • Solved
When I try to update my code, the android build fails. I also tried an old code, which was built successfully, a few days ago. The Log says:

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
Photo of Daniel Reichler

Daniel Reichler

  • 2 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 38
Photo of David Hung

David Hung

  • 5 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled build service seems to be broken for android app now.

The build service seems to be broken for android app now...
The following is the error log.

Build Date: 2014-12-28 07:43:37 +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
Photo of Muhammad Yasir

Muhammad Yasir

  • 8 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Phonegap build error. Cannot build APK file.

PhoneGap build Give Error while trying to build Android APK

PhoneGap Build suddenly give errors and don't build apk file for android. Its working fine last night but now it give error.

The error are.

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

any help please...
Photo of Benjou Abdé

Benjou Abdé

  • 3 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Oh geez. Your build failed. Sorry, but a problem occurred on the build server.

I have this message when i want to build android app.
Oh geez. Your build failed. Sorry, but a problem occurred on the build server
a try a lot of 'solutions', but nothing give me the solution.

and when i upload older project that run yesterday, i have the same error with android.

Please can you help me

App ID
1237957

Here is the log
Build Date: 2014-12-28 16:50:17 +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
Photo of Borja Velasco

Borja Velasco

  • 3 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Oh geez. Your build failed. Sorry, but a problem occurred on the build server. In....

Oh geez. Your build failed. Sorry, but a problem occurred on the build server. In android. my app id is 1144978
Photo of Uwe Mutz

Uwe Mutz

  • 5 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Android build not working (on any of my apps).

Is the Android build service down? I cant build ANY of my apps for Android. Gettin' build errors like these:

Build Date: 2014-12-28 15:03:34 +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

No problems with the iOS build.
Photo of Alok Kumar

Alok Kumar

  • 3 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Android Build Failed.

I've been trying to build my app for Android and all I get is this error: "Oh geez. Your build failed. Sorry, but a problem occurred on the build server". Any ideas?

App ID: 1246355
Photo of Sheldon Goldberg

Sheldon Goldberg

  • 8 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Android build gives errors.

I've done about 20 successful windows and android builds in the last few days. Suddenly, last night I started getting error Oh geez. Your build failed. Sorry, but a problem occurred on the build server. I save my builds - so I went back to an earlier working one and stil get the error. Please help. I was just starting to like this services.
Photo of Sheldon Goldberg

Sheldon Goldberg

  • 8 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Android build gives errors.

I've done about 20 successful windows and android builds in the last few days. Suddenly, last night I started getting error Oh geez. Your build failed. Sorry, but a problem occurred on the build server. I save my builds - so I went back to an earlier working one and stil get the error. Please help. I was just starting to like this services.
Photo of Krzysztof Krotowski

Krzysztof Krotowski

  • 2 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Oh geez. Your build failed. Sorry, but a problem occurred on the build server.

I can not generate the application on android
Photo of Lucas Moraes

Lucas Moraes

  • 2 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Oh geez. Your build failed. Sorry, but a problem occurred on the build server.

I'm already trying to 24h and nothing ... And suddenly it started ... and only for android, please can anyone help me?



App ID
1246106
Photo of Felix Livni

Felix Livni

  • 3 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Phonegap Build bust. (Error: ANDROID_HOME is not set and "android").

I'm getting the following problem building my app on Phonegap Build. (This is a new problem that appeared today.)

Build Date: 2014-12-28 01:58:32 +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
Photo of MalaiSelvan K

MalaiSelvan K

  • 31 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Build error while building Android APP in build.phonegap.com website.

I got the below error in the log file while building my Android App in http://build.phonegap.com


Build Date: 2014-12-26 22:44:39 +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



My App id is 1244832

Not sure this is a generic problem or is it something do I need to do with my ZIP file?

Need your assistance please.
Photo of Uwe Mutz

Uwe Mutz

  • 5 Posts
  • 0 Reply Likes
It's a problem with Adobe: they have to fix the "Android Home" variable. As soon as they have fixed this (little) problem everythings gonna work fine again. But we have to wait for them.
Photo of Wolfgang Tober

Wolfgang Tober

  • 6 Posts
  • 0 Reply Likes
Hi,
Adobe changed something.
I can now build apk again. I tryed an older zip that works for Nexus 4 and 5. But i c'nt install the new build apk on Nexus4 5.0.1. On Nexus5 5.0.1 the apk works. Any ideas?
Photo of Daniel Reichler

Daniel Reichler

  • 2 Posts
  • 0 Reply Likes
For me, the build works again.
Photo of Sheldon Goldberg

Sheldon Goldberg

  • 8 Posts
  • 0 Reply Likes
Yes - it's working again!
Photo of johannesjchrist

johannesjchrist

  • 2 Posts
  • 0 Reply Likes
Working again!
Photo of Muhammad Yasir

Muhammad Yasir

  • 8 Posts
  • 0 Reply Likes
Its not working now. About 20 min before its working but not now.
Photo of Julio Cezar

Julio Cezar

  • 3 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled "Oh geez Your build failed Sorry, but a problem occurred on the build server..".

Need urgent help I am all day with the message "Oh geez Your build failed Sorry, but a problem occurred on the build server.." Id 1246059 - I do not know what else to do
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
It is back to normal again. Can you confirm?
Photo of Julio Cezar

Julio Cezar

  • 3 Posts
  • 0 Reply Likes
Confirm! Thank very very much

This conversation is no longer open for comments or replies.