From 4d29372f45a67771c07852e533d5d42dee05b612 Mon Sep 17 00:00:00 2001 From: Stomzy <45337015+airamare01@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:36:20 +0300 Subject: [PATCH] Add guidance for Android Studio for JCEF This update introduces a workaround for web view JCEF for Android Studio which isn't supported out of the box and causes Cody not to start and get stuck on the spinning icon. --- docs/cody/troubleshooting.mdx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/cody/troubleshooting.mdx b/docs/cody/troubleshooting.mdx index d47f4ae92..7c65f29c3 100644 --- a/docs/cody/troubleshooting.mdx +++ b/docs/cody/troubleshooting.mdx @@ -168,3 +168,18 @@ If you notice the Cody agent reaching 100% CPU utilization, try the following: 1. Disable the Cody plugin. 1. Re-enable the plugin. This simple action of turning the plugin off and on again can often resolve the high CPU usage issue. + + + +## Androud Studio extension + +### Cody cannot start. Stuck on spinning icon. + +This issue occurs because JCEF isn't supported in Android Studio and causes Cody not to start. The suggested workaround is to; + +1. Go to `Help` > `Find Action: Registry`. +1. Scroll to `ide.browser.jcef.sandbox.enable`. +1. Disable that key and close. +1. Then go to `Help` > `Find Action: Choose Boot runtime for the IDE`. +1. Select the last option. +1. Restart Android Studion.