Skip to content

fix(android): only apply Kotlin plugin if not using built-in#2830

Open
tido64 wants to merge 1 commit into
trunkfrom
tido/android/conditional-kotlin-plugin
Open

fix(android): only apply Kotlin plugin if not using built-in#2830
tido64 wants to merge 1 commit into
trunkfrom
tido/android/conditional-kotlin-plugin

Conversation

@tido64

@tido64 tido64 commented Jun 23, 2026

Copy link
Copy Markdown
Member

Description

Nightly builds are failing with the following error:

An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.android']
> Failed to apply plugin 'org.jetbrains.kotlin.android'.
   > Cannot add extension with name 'kotlin', as there is an extension already registered with that name.

-- https://github.com/microsoft/react-native-test-app/actions/runs/28003974492/job/82881903173

Platforms affected

  • Android
  • iOS
  • macOS
  • visionOS
  • Windows

Test plan

Build will still fail but on react-native-safe-area-context instead:

cd packages/app
node --run set-react-version -- nightly
yarn
cd example
yarn android

@tido64 tido64 requested a review from JasonVMo as a code owner June 23, 2026 09:38
@github-actions github-actions Bot added the platform: Android This affects Android label Jun 23, 2026
@tido64 tido64 mentioned this pull request Jun 23, 2026
14 tasks
@tido64 tido64 force-pushed the tido/android/conditional-kotlin-plugin branch from 99b267c to fab1d02 Compare June 23, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: Android This affects Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant