This message was deleted.
# community-support
s
This message was deleted.
v
It means your are doing "something" wrong in the
android { ... }
closure. Unfortunately the error reporting there is extremely bad with Groovy DSL. One reason I exclusively use Kotlin DSL nowadays. To find the problem you needed to comment out the content and readd it line by line.
t
Thank you for responding. I believe my biggest issue is that I’m trying to upgrade from AGP 4.XX to 7.1.3. I think it broke a few of my packages.
How can I switch to Kotlin DSL?
It’s actually throwing that error for all the react-native packages
I uninstalled instabug-reactnative thinking that would help but it complained about the next package.
v
How can I switch to Kotlin DSL?
Basically rename the build script and append .kts and port the Groovy syntax to Kotlin syntax. But that's heavily simplified. :-D
t
😂 Yes