Skip to content

Commit a0ad8e0

Browse files
authored
Add guidance for Android Studio for JCEF (#697)
<!-- Explain the changes introduced in your PR --> 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. ## Pull Request approval Although pull request approval is not enforced for this repository in order to reduce friction, merging without a review will generate a ticket for the docs team to review your changes. So if possible, have your pull request approved before merging.
1 parent bf85eb6 commit a0ad8e0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/cody/troubleshooting.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,18 @@ If you notice the Cody agent reaching 100% CPU utilization, try the following:
168168
1. Disable the Cody plugin.
169169
1. Re-enable the plugin.
170170
This simple action of turning the plugin off and on again can often resolve the high CPU usage issue.
171+
172+
173+
174+
## Androud Studio extension
175+
176+
### Cody cannot start. Stuck on spinning icon.
177+
178+
This issue occurs because JCEF isn't supported in Android Studio and causes Cody not to start. The suggested workaround is to;
179+
180+
1. Go to `Help` > `Find Action: Registry`.
181+
1. Scroll to `ide.browser.jcef.sandbox.enable`.
182+
1. Disable that key and close.
183+
1. Then go to `Help` > `Find Action: Choose Boot runtime for the IDE`.
184+
1. Select the last option.
185+
1. Restart Android Studion.

0 commit comments

Comments
 (0)