Android build is failing due to "Cannot start a new build, as there is already an in-progress build."

Hi, I am currently facing issues with building Android app, as it seems that some older build is stuck in a queue and is blocking new builds.

expo-cli ba --release-channel …

Checking if there is a build in progress…

Cannot start a new build, as there is already an in-progress build.

expo-cli bi --release-channel …

iOS build runs successfully.

I cannot see the latest Android build in expo builds for my app, I can see only recent X iOS builds there.

Is there any way I can force stop Android build?

expo-cli diagnostics
┌─────────────────────────────────────────────────────────────┐
│ │
│ There is a new version of expo-cli available (3.1.2). │
│ You are currently using expo-cli 3.0.10 │
│ Run npm install -g expo-cli to get the latest version │
│ │
└─────────────────────────────────────────────────────────────┘

Expo CLI 3.0.10 environment info:
System:
OS: macOS 10.14.6
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.16.3 - /usr/local/bin/node
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 11.0/11A420a - /usr/bin/xcodebuild
npmPackages:
expo: ^33.0.0 => 33.0.7
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz => 0.59.8
react-navigation: ^3.11.0 => 3.13.0

should be working now

Thanks, it seems to work now!
Do you have any advice how it can be fixed if this happens again in future?

Go to last build for that platform from expo.io/builds and click cancel there. If you already run few builds for the other platform and you can’t see it, the only way is to write here. In your case I just switched status of that build directly in db. Sorry for you troubles, this issue is hard to reproduce and happens maybe for one or two users per month, so compared to other work it has low priority for now.

Hi, @wkozyra!
I’m having the same issue with the android build.
I don’t know if I should create a new thread, but I just find this one.
Thanks in advance!

I don’t see any stuck builds in your case. I assume that either you canceled it yourself or it was fixed together with @expo-frost case.

Thanks for the quick question, @wkozyra!
My error still persists, but I’ll dig a little before start running in circles.

Checking if there is a build in progress...

Request failed with status code 400

Thanks again!

Hi

Try downgrading expo-cli to version 3.1.2 as per this comment:

1 Like