© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
3 replies
I0ngfire

Kotlin 1.9.24 + Supabase: gotrue imports not resolving despite dependencies being found

Hey Kotlin devs! 👋 Could really use some help with version compatibility
I've been working on my Android app called "Forager" and just spent the last few hours in dependency version hell trying to upgrade to Supabase 3.x. I'm hoping someone here has been through this pain and can save me from more hair-pulling! 😅
What I'm trying to do:
Build a cool location-based app with auth, but I'm completely stuck on getting Supabase working with modern Kotlin versions.
My current setup:

Kotlin 1.9.24 (was on 2.1.0 but backed off due to compatibility issues)
Android Gradle Plugin 8.7.3
KSP 1.9.24-1.0.20
Hilt 2.53.1
Compose BOM 2024.12.01

The problem:
No matter what I try, I keep getting Unresolved reference: gotrue and Unresolved reference: GoTrue errors. The dependencies show up correctly in my dependency tree, but the imports just won't resolve. It's driving me crazy because everything looks right!
What I've tried:

Supabase 3.1.4 with auth-kt (metadata version conflicts)
Supabase 2.6.1 with gotrue-kt (imports don't resolve)
Supabase 2.5.4 with gotrue-kt (still trying this one)
Multiple cache clears, gradle restarts, sacrifice to the gradle gods, etc.

My dependency setup:
kotlinimplementation(platform("io.github.jan-tennert.supabase:bom:2.6.1"))
implementation("io.github.jan-tennert.supabase:gotrue-kt:2.6.1")
implementation("io.github.jan-tennert.supabase:postgrest-kt:2.6.1")
implementation("io.ktor:ktor-client-okhttp:2.3.12")
The question:
What's the actual working combination of Kotlin + Supabase versions for Android in early 2025? I feel like I'm missing something obvious, but I've been staring at this for hours and I'm starting to question my life choices 😭
I love what you all have built with Supabase - the features are exactly what I need for my app. I just want to get past this setup hurdle so I can start building cool stuff with it!
Has anyone successfully gotten Supabase working with recent Kotlin versions? I'd be forever grateful for a working build.gradle.kts snippet or just knowing I'm not the only one who's struggled with this.
Thanks in advance for any help! 🙏 Really appreciate this amazing community.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

public.ecr.aws/supabase/gotrue:v2.184.1 not found
SupabaseSSupabase / help-and-questions
5w ago
gotrue locally + @supabase/ssr
SupabaseSSupabase / help-and-questions
3y ago
Supabase query not returning anything despite RLS being true
SupabaseSSupabase / help-and-questions
13mo ago
What is the difference between netlify gotrue and supabase gotrue?
SupabaseSSupabase / help-and-questions
4y ago