-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
IntelliJ Plugin not working in Android Studio #596
Comments
@xrigau Android Studio by default boots with a JDK version that doesn't support webviews, but this can be changed by using the "Search All" menu (magnifying glass icon in the upper right), selecting "Choose boot Java runtime for the IDE", and then selecting a version like in the screenshot below. The version you see selected there worked for me after initially seeing the same problem you had. We're working on figuring out whether there's a solution on our side, but before then, I'll be sure that our next release tells the user about this solution immediately ![]() |
Hey @sestinj thanks for the quick reply! I've tried to change the JDK version a few times but none has worked for me, I've tried the following ones: For some reason I can't see any JDK version for 17.0.6, the oldest version that I see is for 17.0.7, this is what I see in the bottom of the list: Do you know how I can download an older version? |
Thanks for the link @sestinj ! ![]() But unfortunately, I'm still getting the same error: Stacktrace
I've tried also switching to the old UI of Android Studio, but that didn't make a difference. |
@xrigau Very sorry to see this, in some searching the most promising lead I've been able to find is this setting. There also seems to have been someone here that had the same issue on a similar setup as you, but it wasn't clear that they found a solution unfortunately. Which was the older version you tried? I'm currently also on Mac, using |
Any news?
|
@mak1nt0sh I don't have any new solution unfortunately. We will likely stick with using JCEF so this will be a matter of figuring out the workaround on the Android Studio side. Curious what OS you are on, just in case a pattern shows up? |
Currently using other GPT plugin - CodeGPT |
Thank you for sharing the OS info, I do notice that you both have macOS 14.1, so there does seem to be a pattern. Android Studio, though I realize is a hugely popular IDE, doesn't support the webview feature supported by almost all other JetBrains IDEs, which has notoriously caused problems with plugins as common as the markdown viewer. CodeGPT seems to work because it doesn't use the webview feature. Since our usage of the webview is a key part of what lets us share code between both JetBrains and VS Code, and allows much richer UI, it's unlikely that we will switch to using the swing framework and rewrite out side panel. So unfortunately until Android Studio adds support we'll have to work through this bug. |
Hi guys, Android Studio Hedgehog | 2023.1.1 Patch 2 Non-Bundled Plugins: Current Desktop: ubuntu:GNOME Also, I found out the same issue on Windows 11. |
is there any updates on this track as i am having same issue with my mac pc
I have tried to change jdk of android studio. and manage to get options like history and new conversation plus button but still not working. same plugin in vs code it's working Update: |
I also am having the same issue on Windows 10 :(
|
I tried all the java runtimes in my list and I still have an empty tool window. There's no option to add an LLM. And I get this message about the GPU process.
|
I am getting same error on my mac. |
I'm also having trouble with this. I actually attempted to set the Update: there are directions for fixing a disfunctional boot java runtime in the IntelliJ docs here: https://www.jetbrains.com/help/idea/switching-boot-jdk.html#switch-jdk |
@elliptic1 I solved with this method: ![]() |
It works for me in Android Studio Iguana | 2023.2.1 Patch 2 on Windows 11. |
Yes disabling sandbox in 'Android Studio Iguana | 2023.2.1 Patch 2' on Windows 11 works for me to Steps to Success
|
oh god..
|
A combination of fixes here helped me get running successfully too, so I'm going to post them all together to hopefully save future readers some time.
|
+1 |
Thank you so much, after I tried it all afternoon, this method finally works for me. |
In Android Studio Koala with 17.0.11+1-1207.30-jcef works fine. 🙂 |
I found it sufficient to select a current runtime with JCEF for the Continue plugin to work with Ladybug Feature Drop. It is not necessary to disable anything in the registry.
|
@knox mind sharing how you performed this? |
@Patrick-Erichsen see #596 (comment)
|
Before submitting your bug report
Relevant environment info
Description
Upon opening the Continue panel in the IDE, the panel is empty and the IDE throws the error attached in the "Log output" section.
To reproduce
Log output
The text was updated successfully, but these errors were encountered: