I get “Kotlin Not configured” after upgrading to A...
# android-studio
j
I get “Kotlin Not configured” after upgrading to Android Studio Narwhal and then supposedly it configures with an old Kotlin version but then all lines turn red and I don’t know what to do to fix it. I have downgraded to Android Studio Meerkat to stay productive…
s
I have been using AS Narwhal with no issues, but I am trying the Canary (Narwhal feature drop) and facing this "Kotlin not configured" issue 😕
The good old invalidate caches and restart did the trick 🤷 1. Go to File > Invalidate Caches.... 2. In the dialog select Clear file system cache and Local History. 3. Click Invalidate and Restart.
j
Okay thanks lets see if that works for me
Nope its not working for me…
Kotlin won’t configure
s
Hmm not sure why it did not help, as I was facing the exact same error as yourself and invalidating caches fixed it. Out of curiosity, which Kotlin and ktor versions you are using?
j
Copy code
kotlin = "2.2.20-Beta1"
ktorVersion = "3.2.2"
When I configure Kotlin an old kotlin-stlib-..jar is added
s
Hmm not sure what is going on, sorry.
j
I keep getting “kotlin is not configured”