r/reactnative • u/rushikesh_d_pandit • Oct 16 '26
Question Gradle / AGP upgrades when bumping React Native: what do you check first?
When a React Native upgrade forces a Gradle wrapper or Android Gradle Plugin bump, what's your first move?
Do you check JDK compatibility, the wrapper version, plugin versions in third-party libraries, or something else? Any gotchas that took you longer than they should have?
2
Upvotes
View all comments
1
u/mohn93 Oct 17 '26
Built-in Kotlin is the sneaky one since 0.87 moved to AGP 9. The template's gradle.properties now ships android.builtInKotlin=false and android.newDsl=false, and if you bump AGP by hand without copying those two lines, every module that applies org.jetbrains.kotlin.android (your app module included) fails at configure. Easy to skim past in the Upgrade Helper diff since it's just a properties file. Google says that opt-out goes away in AGP 10 tho, so grep node_modules for kotlin-android / kotlin.android in the build.gradle files and you'll see which libs still need to move before RN can drop the flag