eas build android is giving error in gradle

SDK Version: 46 / Platforms: Android

I’m having a policy issue on Google Play "The app includes an SDK version that doesn't comply with Google's policies" I already updated the sdk to 46 and I still have the same problem I’m trying to migrate the build to eas build, but when I build for Android I get the following error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information."

Log says: Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

But I don’t have the Android folder.

Hi @artiumsolucoesapp

This is just a deprecation warning about the gradle build scripts. It is not the reason your build is failing.

Please paste the build log from a few lines before “Gradle build failed with unknown error” where it shows the actual error. Look for something like:

> Task :some-thing:compileReleaseSomething FAILED
[stderr] ...

Paste everything between the “Task: … FAILED” and the end of the “Run gradlew” log.