From 6e808820c09f4620482581d3fc9b2f3f16ce1fa4 Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Dall'Agnol Date: Fri, 18 Sep 2026 03:18:48 -0700 Subject: [PATCH] fix(android): drop the unused kotlin-android plugin Android Gradle Plugin 9 ships built-in Kotlin support and registers the kotlin extension itself, so an explicit kotlin-android apply fails configuration with "Cannot add extension with name 'kotlin'". This module has no Kotlin to compile, so the apply is removed rather than guarded: android/src holds 33 .java files and no .kt files, codegen emits Java per the javaPackageName in codegenConfig, and nothing else in the build file depends on the plugin -- no kotlinOptions block, no Kotlin stdlib dependency, no kotlin.srcDirs. --- android/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 7e46c0b4..93052f43 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -17,7 +17,6 @@ def safeExtGet(prop, fallback) { } apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' apply plugin: 'com.facebook.react' android {