Android Standalone build fails

This command fails for me:
expo build:android -t app-bundle --release-channel production

[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ‘:app:mergeReleaseResources’.
[stderr] > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.3.2-5309881-linux Daemon #2: Unexpected error during compile ‘/app/turtle/workingdir/android/sdk35/android-shell-app/app/src/main/res/drawable-xxxhdpi/shell_launch_background_image.png’, attempting to stop daemon.

Expo CLI 3.3.0 environment info:
System:
OS: macOS 10.15
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 8.11.1 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm
Watchman: 4.7.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5900203
Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
npmPackages:
@types/expo: ^32.0.6 => 32.0.13
@types/react: ^16.8.23 => 16.9.5
@types/react-native: ^0.57.65 => 0.57.65
expo: ^35.0.0 => 35.0.0
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8
react-navigation: ^3.11.1 => 3.13.0
npmGlobalPackages:
expo-cli: 3.3.0

I’ve solved it by compressing the splash image.

2 Likes

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