Android Build: Oh geez. Your build failed. Sorry, but a problem occurred on the build server

  • 23
  • Problem
  • Updated 5 years ago
  • Solved
Build Date: 2015-04-28 19:06:53 +0000
----------------------------------------------
debug: Creating Cordova project for the Android platform:
Path: ../../../../../../project
Package: my.package.name
Name: myName
Android target: android-21
Copying template files...
Running: android update project --subprojects --path "../../../../../../project" --target android-21 --library "CordovaLib"
/bin/sh: android: command not found

/home/ec2-user/gimlet/var/android/3.7.0/bin/node_modules/q/q.js:126
throw e;
^
Error: Command failed: /bin/sh: android: command not found

at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket. (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
Photo of Brent Colflesh

Brent Colflesh

  • 41 Posts
  • 4 Reply Likes
  • sad

Posted 5 years ago

  • 23
Photo of andrea.maschio

andrea.maschio

  • 57 Posts
  • 1 Reply Like
me too
Photo of Antonello Pasella

Antonello Pasella

  • 1 Post
  • 0 Reply Likes
me too getting the same error
Photo of Thomas Gorence

Thomas Gorence

  • 2 Posts
  • 2 Reply Likes
same error message here too.
Photo of andrea.maschio

andrea.maschio

  • 57 Posts
  • 1 Reply Like
cool, perfect for the release day! :)
Photo of Jack Hudson

Jack Hudson

  • 8 Posts
  • 0 Reply Likes
Yes, same message here.
Photo of iconico

iconico

  • 16 Posts
  • 0 Reply Likes
same here - please fix - we're all dead in the water!
Photo of Matthew Barnes

Matthew Barnes

  • 1 Post
  • 0 Reply Likes
Same issue on my first ever attempt to build through the site!
Photo of Glenn Dobson

Glenn Dobson

  • 4 Posts
  • 0 Reply Likes
Just got this... was working fine Yesterday!
Photo of Brad Holz

Brad Holz

  • 11 Posts
  • 0 Reply Likes
why no feedback? i need this up asap
Photo of Glenn Dobson

Glenn Dobson

  • 4 Posts
  • 0 Reply Likes
Same here!
Photo of Brian Walsh

Brian Walsh

  • 6 Posts
  • 0 Reply Likes
+1
Photo of Joey Heuts

Joey Heuts

  • 1 Post
  • 0 Reply Likes
Some problem here.
Photo of Cristobal Hernández

Cristobal Hernández

  • 2 Posts
  • 0 Reply Likes
Same problem
Photo of marc.hoeffl

marc.hoeffl

  • 2 Posts
  • 0 Reply Likes
Yep for me as well. On release day as well .....

The whole time just getting failing builds without logs that provide any information. Now I tweaked long enough and are getting this:

For Phonegap 3.7.0

/bin/sh: android: command not found

/home/ec2-user/gimlet/var/android/3.7.0/bin/node_modules/q/q.js:126
throw e;
^
Error: Command failed: /bin/sh: android: command not found

at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket. (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)

On Phonegap 3.6.3

Build Date: 2015-04-29 00:31:20 +0000
----------------------------------------------
debug: Creating Cordova project for the Android platform:
Path: ../../../../../../project
Package: de.gambify.android
Name: Gambify
Android target: android-19
Copying template files...
Running: android update project --subprojects --path "../../../../../../project" --target android-19 --library "CordovaLib"
Resolved location of library project to: /project/CordovaLib
Updated and renamed default.properties to project.properties
Updated local.properties
No project name specified, using Activity name 'Gambify'.
If you wish to change it, edit the first line of build.xml.
Added file ../../../../../../project/build.xml
Added file ../../../../../../project/proguard-project.txt
Updated project.properties
Updated local.properties
No project name specified, using project folder name 'CordovaLib'.
If you wish to change it, edit the first line of build.xml.
Added file ../../../../../../project/CordovaLib/build.xml
Added file ../../../../../../project/CordovaLib/proguard-project.txt

Project successfully created.
Photo of Brad Holz

Brad Holz

  • 11 Posts
  • 0 Reply Likes
is there any posts up anywhere? or est time it will be back online need something
Photo of andrea.maschio

andrea.maschio

  • 57 Posts
  • 1 Reply Like
right now it seems to be working, my build is failing for a

Error - Invalid filename: resources/android/icon/drawable_hdpi:ic_launcher.png - You can fix this here

but maybe this is my problem and not phonegapbuild's fault?
Photo of Jimmy Wales

Jimmy Wales

  • 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.

Oh geez. Your build failed. Sorry, but a problem occurred on the build server

App ID 1055353
Version 1.0.0
PhoneGap 3.5.0

Build was fine yesterday. Please fix it immediately.
Photo of Brian Walsh

Brian Walsh

  • 6 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Android builds failing : /bin/sh: android: command not found.

Android builds failing ...

Android target: android-21
Copying template files...
Running: android update project --subprojects --path "../../../../../../project" --target android-21 --library "CordovaLib"
/bin/sh: android: command not found

/home/ec2-user/gimlet/var/android/3.7.0/bin/node_modules/q/q.js:126
throw e;
^
Error: Command failed: /bin/sh: android: command not found

at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket. (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
Photo of Jennifer Dearing

Jennifer Dearing

  • 2 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Android build error: "Oh geez. Your build failed. Sorry, but a problem occurred o....

Android build error: "Oh geez. Your build failed. Sorry, but a problem occurred on the build server"

APP ID: 1043051

IOS build is fine
Photo of alin

alin

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

AppId: 1396522

We are having trouble creating the android build today. It was working fine last week.

NO error logs generated
Photo of Victor Eberechi

Victor Eberechi

  • 2 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Android build not generating apk..

I'm having troubles using the build service to generate a build for Android. I see that the service status is fine, and still cannot tell why android build isn't generating an apk. Looking at the log, it says project was successfully created, but I don't see any apk file. Here is my app id : 1426692
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hey Guys

Issue has been fixed. Kindly watch our twitter post for real-time status update.





Apologize  for any inconvenience causes.

Thanks
Photo of Alon Dourban

Alon Dourban

  • 17 Posts
  • 0 Reply Likes
Hi Amir,
Is there another problem with Android build servers today?
I get an error while trying to build a project that was build successfully in the past without making any changes.

I get:
BUILD FAILED
/home/ec2-user/android-sdk/tools/ant/build.xml:601: The following error occurred while executing this line:
/project/com.phonegap.plugins.facebookconnect/mingleapp-FacebookLib/build.xml:46: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var
Photo of Thomas Gorence

Thomas Gorence

  • 2 Posts
  • 2 Reply Likes
You say "watch our twitter post for real-time status update." but in reality, you didn't even acknowledge there was a problem 5 hours, and then the "back to normal" post was posted only 30 minutes after the tweet about having problems.

So did it really just take 30 minutes to fix? It seems nobody paid attention to twitter followers reporting the outage for the first 4-5 hours. That's hardly "real-time"

This conversation is no longer open for comments or replies.