androidreact-nativegradleexpo

Dev Building Gradle Issue Leading to Build Failure in Expo React Native SDK 52


I am trying to build my app for dev build so I can use some native code, but when I run eas build ... for development build, after 3 minutes it says it fails due to some features that are not anymore available in Gradle 9 but were still mentioned in the native code. How can I fix this?

I have tried changing native code such as the dependencies and changing it to Gradle 7.6, but it hadn't worked. I'm using react native 0.76.7, Expo SDK 52.0.36/39.

Error Message


Solution

  • The problem had been resolved by changing the distribution URL to Gradle 7.6's distribution URL in the gradle.properties file.