Which Android Studio version do you use? The plugi...
# squarelibraries
h
Which Android Studio version do you use? The plugin has some compatibility problems at the moment.
t
I use Dolphin and Electric Eel. The error happened with both of them.
h
Unfortunately, these versions are too new
t
Omg. I need the newest version of the Android Studio because I need to work well with Jetpack Compose. 🥲
h
t
Thank you so much. Hope this plugin better soon 🫠
s
Unfortunately, these versions are too new
Are you sure? I've been using the SQLDelight plugin with the latest canary version (Flamingo) without any problems.
t
@saket how to setup it? Can you share with us 🫡
s
Oh I think I know how -- you have to install an EAP version instead of Alpha.
t
Maybe. I will.
d
You could also try installing a snapshot version. The plugin marketplace doesn't list any compatibility issues for newer versions of Android studio https://plugins.jetbrains.com/plugin/8191-sqldelight/versions/eap
h
@saket wait, it works? I didn’t expect it because updating IntelliJ fails with compiler error, so updating the dependency by running in newer AS should break it, I guess.
v
But isn't AS so far behind?
t
@Derek Ellis I have tried stable, beta, and EAP but they crash all 🥲
@saket I tried Flamingo but the plug-in still reports many exceptions and I can not use it at all. I think you have some magical but you don’t know 😂
@saket oh wait what kind of CPU is in your machine? I’m using apple silicon M2 so maybe it is why I can run on Flamingo well like you.
s
Can you file an issue for the exceptions you're seeing?
I'm on the same cpu arch with m1
h
BTW the pr updating the intellij dependencies was merged. Feedback is welcome: see https://cashapp.github.io/sqldelight/2.0.0-SNAPSHOT/ for install instructions
Yeah, AS is 1 year behind, Electric Eel was release 2 days again using 2022.1, but Dolphin, the one release before, based on 2021.3.1.17: https://plugins.jetbrains.com/docs/intellij/android-studio-releases-list.html
t
@saket @hfhbd Hi guys after trying almost plug-in version with new AS electric eel I still get this error: java.lang.NoClassDefFoundError: app/cash/sqldelight/core/lang/SqlDelightFileType
and com.intellij.diagnostic.PluginException: app.cash.sqldelight.core.lang.SqlDelightFileType
h
Could you please create an issue with a reproducer/video?
t
Should I post the video here?
h
Better in the issue
t
@hfhbd can you give me the link to post the video
t
@hfhbd the issue was summited here https://github.com/cashapp/sqldelight/issues/3822
Hi guys after a few days with the support from @hfhbd I installed the plugin and this worked well. Thank you so much. 🫡