-
Notifications
You must be signed in to change notification settings - Fork 293
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
"Sync failed" when importing project #88
Comments
Does 'bazel info' fail from the command line also? Specifically, can you run: If it's fine from the command line, perhaps it's the same problem as #18 |
Running the command in the terminal does work. But I'm not using the IJ bundled JDK, I've used the "Switch IDE boot JDK" feature to set it up with the same JDK as JAVA_HOME. |
Are you getting any other exceptions in your logs (Help > Show Log in Files > idea.log.*) or in the Problems view? |
|
Could you check that you have the correct bazel binary selected in Settings > Other Settings > Bazel Settings'? If so, perhaps try running with IntelliJ's bundled JDK? |
Updating the binary location did the trick! Thank you! |
Great, good to hear it's working! |
Thank you very much. I set Settings > Other Settings > Bazel Settings = /usr/local/bin/bazel in the IntelliJ IDEA then it worked 👍 |
Thank you very much. |
Thanks! Very helpful! |
In Android Studio 4 @Windows 10 , it doesn't work. |
This occurs when trying to import a bazel project.
This is displayed in the bazel console:
Stacktrace:
I'm running bazel 0.4.5-homebrew
The text was updated successfully, but these errors were encountered: