React native android build failing, fix it

Job ID: 36583795

Budget: €30 – €250 EUR

We get various errors when trying to run the android project, ios it works perfectly fine, but we don't have that much android expertise and looking for someone who can help us and also get a long term relationship, since we have a lot of projects running!

We are running React native 0.68

Errors we are getting:
> Task :bugsnag_react-native:compileDebugKotlin FAILED

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

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> The minCompileSdk (31) specified in a
dependency's AAR metadata

Plugin with id 'com.bugsnag.android.gradle' not found.

We tried various ways but we think that there is some dependency hiccup.. Hope someone can help us with this and create a long term relationship!