-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connecting with the SQLDelight plugin failed: try building from the command line. #3420
Comments
did some digging and debugging, this seems to be a Did a workaround of adding an My side is solved and I'm not sure whether the issue is with SqlDelight here, looks like a compat issue between |
yea, we explicitly use java home for the gradle connector, though its surprising that it just continues to try even if its not working. I can try reproducing |
and also agreed, it would be much better if the error just said java home was missing |
@madisp Can you please describe where did you add |
@VitKap are you also using
|
@madisp No, I'm not using |
I have the same problem with 2.0.0-alpha04, can't find how to solve it. |
I had the same issue, with
I built myself a version of the plugin with a hardcoded java home and it works now. |
I seem to have found myself running into this issue. I have
|
Also had this issue when starting android studio from the toolbox app on macos. My solution was to set the java home env variable and launching android studio from the command line. |
@AlecStrong is there a reason to use JAVA_HOME here within the IntelliJ plugin rather than the SDK configured in IntelliJ's project settings? I bumped into this trying out an 2.0.0 alpha version, coming from 1.x. Setting JAVA_HOME on a development machine does solve this issue, but it seems like an unnecessary complication in our team's development environment setup when the rest of our tooling seems to fall in line under IntellliJ's project settings. |
SQLDelight Version
2.0.0-alpha03
IDE Version
IntelliJ 2022.2
Dialect
PostgreSQL
Describe the Bug
Opening
*.sq
files in the IDE always prints this header, source inspections don't seem to work.Gradle plugin and IDE plugin are both 2.0.0-alpha03. Project is a pure-JVM Kotlin project.
Stacktrace
None
Description
IDEA log is full of lines at 100ms interval like
but not noticing any error lines
The text was updated successfully, but these errors were encountered: