https://kotlinlang.org logo
Title
p

Pisco

05/08/2023, 1:18 PM
hello i have this error
j

Johann Pardanaud

05/08/2023, 2:35 PM
Provide the code, otherwise it will be difficult to help…
p

Pisco

05/08/2023, 2:41 PM
I wanted to add a new activity and it brought me this error
image_2023-05-08_160252792.png
j

Jeff Lockhart

05/08/2023, 6:34 PM
You can't use two Kotlin plugins in the same project. You will either use
id("org.jetbrains.kotlin.android")
(or
kotlin("android")
which is the same) for a Kotlin Android app or library or
kotlin("multiplatform")
for a multiplatform shared module. In your case, assuming this is a multiplatform shared module, you should remove
id("org.jetbrains.kotlin.android")
.
p

Pisco

05/08/2023, 9:49 PM
@Jeff Lockhart thanks