Android building issue: No space left on device

Bitrise Build Issue Report template

Description of the issue

Hi, we’re trying to use Turtle cli to build the standalone app from Expo project. But we have the issue with Android as below. We have that issue as well for iOS, but I have fixed by cleaning some iOS runtime.

turtle build:android --keystore-path ./expo-project.jks --keystore-alias [REDACTED] --type app-bundle --release-channel staging -c /Users/vagrant/git/app.json -o /Users/vagrant/git/expo-project.aab
Mar 30 03:39:17 turtle[7103] INFO:  Downloading Android SDK
  platform: "android"
  buildPhase: "setting up environment"
Mar 30 03:39:19 turtle[7103] INFO:  Decompressing Android SDK
  platform: "android"
  buildPhase: "setting up environment"
Mar 30 03:39:25 turtle[7103] INFO:  Configuring Android SDK, this may take a while
  platform: "android"
  buildPhase: "setting up environment"
Mar 30 03:41:55 turtle[7103] INFO:  Warning: An error occurred while preparing SDK package NDK (Side by side) 17.2.4988734: No space left on device.
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Mar 30 03:42:02 turtle[7103] ERROR: Failed to build standalone app
  err: Error: ./ exited with non-zero code: 1
      at ChildProcess.completionListener (/Users/vagrant/.config/yarn/global/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
      at Object.onceWrapper (events.js:286:20)
      at ChildProcess.emit (events.js:198:13)
      at ChildProcess.EventEmitter.emit (domain.js:448:20)
      at maybeClose (internal/child_process.js:982:16)
      at (internal/child_process.js:389:11)
      at Socket.emit (events.js:198:13)
      at Socket.EventEmitter.emit (domain.js:448:20)
      at Pipe._handle.close (net.js:607:12)
      at spawnAsync (/Users/vagrant/.config/yarn/global/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
      at Object.spawnAsyncThrowError (/@expo/xdl@57.4.0/src/detach/ExponentTools.ts:132:19)
      at _configureSdk (/Users/vagrant/.config/yarn/global/node_modules/turtle-cli/src/bin/setup/android/sdk.ts:54:23)
  platform: "android"


Stack: Xcode 11.4.x on Mac OS 10.15.3


  • The issue happens every time.
  • We’re using Developer plan.

Build log

1 Like

The same happens for me every time I try to build iOS project.

Stack: Xcode 11.4.x on Mac OS 10.15.3

This could be a cause

Hi @hauvo!

There was an issue on release with the Xcode 11.4 stack that could have caused this. Is the issue still persistent?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.