Eas builds and deployments

I’m having issues running an eas build command.

I have a project built in react-native. I’ve installed all the dependancies in the package.json file:

“expo”: “45.0”,
“expo-checkbox”: “^2.0.0”,
“expo-file-system”: “^13.1.4”,
“expo-secure-store”: “^11.1.0”,
“expo-sharing”: “^10.1.1”,
“expo-status-bar”: “~1.1.0”,

This is my app.json file:
“expo”: {
“name”: “HealthSmart Test Application”,
“slug”: “healthsmart-test”,
“version”: “0.0.1”,
“owner”: “healthsmart_test”,
“orientation”: “portrait”,
“icon”: “./app/assets/icon.png”,
“splash”: {
“image”: “./app/assets/splash.png”,
“resizeMode”: “contain”,
“owner”: “healthsmart”,
“sdkVersion”: “~46.0.4”,
“backgroundColor”: “#ffffff
},
I run:

Eas login

Eas build:configure

Eas build –-platform android

here are the build logs:

The problem might be that I don’t have gradle installed on my desktop, but before I go and do some unnecessary work, I’d like some advice

Hey @healthsmart,

This doesn’t seem to be a grade issue.
Looking at your build log, it seems there are some version incompatibility issues (listed under “Run expo doctor” with the packages/libraries you are using in your project. I’d suggest that you run the command:

expo-cli doctor --fix-dependencies

to find the issues with dependencies and fix them.

Also, this doesn’t align with the SDK version mentioned in your package.json file.

ok, yup that fixed things up. Now to move on to fixing our app.

Thanks for your help,
Chris

1 Like