The build just says:
Build file '/.../node_modules/@bugsnag/react-native/android/build.gradle' line: 17
* What went wrong:
A problem occurred evaluating project ':bugsnag_react-native'.
> java.lang.ExceptionInInitializerError (no error message)
The mentioned line is just apply plugin: "kotlin-android"
we're just adding it to the project and following https://docs.bugsnag.com/platforms/react-native/react-native/#installation
I had the same issue and what fixed it for me was updating the Kotlin version in
android/build.gradle
to1.3.72
.This SO answer helped me figure out what the problem was: https://stackoverflow.com/a/62475745