In my CMP project, suddenly the “androidApp” confi...
# kotlin-toolchain
e
In my CMP project, suddenly the “androidApp” configuration stopped working, clicking on the Run button literally does nothing, no errors, no warnings. iOS works fine, building and running the app with gradle commands also works fine. I’ve noticed kotlin-toolchain is now running in the background and also was added to the run configuration automatically - is this related? My project does not use kotlin toolchain. This is on latest Android studio (Android Studio Rabbit 2 | 2026.2.2 Patch 1). Sorry if this is unrelated
j
@utikeev could you please advise here?
e
I do have the kotlin toolchain plugin installed, but only because the Kotlin multiplatform plugin is now dependent on the kotlin toolchain plugin, I can’t disable it without also disabling the KMP plugin
u
Hi! Are there any of the top-level project files named
module.yaml
or
project.yaml
? One thing that might help is right-clicking the project root and invoking the "Remove as Kotlin project" action if it's available. Sorry for the inconvenience!
❤️ 1
e
hey, I don’t have any yaml files related to kotlin toolchain (module/project). “Remove as kotlin project” action seems to have resolved the issue, thanks! Any ideas what happened here, can I expect to run into the same issue in the future? 😄
I did play around with kotlin toolchain in the past on a different branch, maybe related
u
I did play around with kotlin toolchain in the past on a different branch, maybe related
Ah, that might be related 🙂 So, we haven't really nailed the "Gradle-Kotlin Toolchain" migration experience when working under the same repository, so switching between two branches can lead to annoyance like that. We have plans to look into that, though! If the project was linked once as one managed by the Kotlin Toolchain, the information about that might've been persisted in
.idea/amper.xml
, and switching back to the Gradle branch could still keep this stale info.
🙏 1
I have filed an issue to track: KTC-6131 Thanks for reporting the problem!
e
thanks for the quick help