Hello, I'm currently building an app using expo and for some reason I'm getting this error after trying to update some dependecies, I manually set the`compileSdkVersion.` to 34 in both app/build.gradle and build.gradle
Copy code
> Could not find method compileSdkVersion() for arguments [34] on object of type org.gradle.internal.extensibility.DefaultExtraPropertiesExtension.
v
Vampire
05/26/2024, 8:31 PM
Well, it seems you are doing it wrongly 🙂
Vampire
05/26/2024, 8:32 PM
I highly recommend using Kotlin DSL. By now it is the default DSL, you immediately get type-safe build scripts, actually helpful error messages, and an amazingly better IDE support if you use a good IDE like IntelliJ IDEA or Android Studio.