Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Expo EAS build is failing for only Android #8

Closed
shebinleo opened this issue Nov 15, 2023 · 3 comments
Closed

[Bug] Expo EAS build is failing for only Android #8

shebinleo opened this issue Nov 15, 2023 · 3 comments

Comments

@shebinleo
Copy link

shebinleo commented Nov 15, 2023

Version

1.6.1

Reproduction link

https://jsbin.com/puhofetoze/edit?html,output

Operating System

EAS

Device

Android

Browser & Version

Steps to reproduce

eas build --platform android

What is expected?

Build android app using the Expo EAS

What is actually happening?

Error in the "Run gradlew" step. Error log can be found here https://jsbin.com/puhofetoze/edit?html,output

Creating new worker instance
Intel, 4 vCPUs, 16 GB RAM
Using image "ubuntu-20.04-jdk-11-ndk-21.4.7075529" based on "ubuntu-2004-focal-v20220823"
Installed software:

  • NDK 21.4.7075529
  • Node.js 16.18.1
  • Bun 1.0.2
  • Yarn 1.22.17
  • pnpm 7.0.0
  • npm 8.1.2
  • Java 11
    No image was explicitly specified. Resolved builder image to 'ubuntu-20.04-jdk-11-ndk-r21e'.
  • Expo CLI 6.3.10

Solution

iOS buld using eas build --platform ios is working fine.

Additional comments

@Jarred-Sumner
Copy link

Jarred-Sumner commented Nov 16, 2023

Can you try updating to the latest version of Bun? I wonder if it's a bun install bug, if you're using bun install for this

@shebinleo
Copy link
Author

@Jarred-Sumner Bun is not used in this case. Yarn is used to install the dependencies.

Below is the log from the Install dependencies job in the Expo build pipeline.

Running "yarn install" in /home/expo/workingdir/build directory

yarn install v1.22.17

info No lockfile found.

@shebinleo
Copy link
Author

I have resolved the issue. It was caused due jpg image named as png.
Renaming assets/imgs/bg5.png to assets/imgs/bg5.jpg fixed it and now I able build the android app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants