Android Studio Narwhal doesn’t recognise my import...
# android-studio
j
Android Studio Narwhal doesn’t recognise my imports? Help! I feel like I’m completely stuck trying to configure my project after upgrading to the latest Android Studio. Everything was working fine before the upgrade…
After syncing I get this
I add kotlin
But the red lines are still there
Previously tried deleting gradle cache
j
You can try running the Repair IDE flow
j
Oh thanks!
I keep getting this even doh I have configured Kotlin before
After restarting Android Studio I get this. I have defined a JDK many time already using this prompt
I don’t understand why those two prompts keep returning
Testing with Fleet instead
Screenshot 2025-07-30 at 19.10.51.png
c
i sometimes get this but typically an "invalidate caches and restart" does the trick.
j
Oh okay the red lines are still there for me
c
disable k2 mode in the IDE? its on by default in the lastest android studio i think.
y
Missing External libraries in project view in android studio
j
@Colton Idle thanks for the tip, but disabling k2 didn’t fix this
@Yuvaraj I’m not sure exactly where you mean?
y
@jQrgen older vs new version External Libraries is missing
c
seems like gradle sync maybe failed. thats what happens to me when a sync doesn't complete.
j
@Yuvaraj interesting, I don’t have External libraries now