Skip to content
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

Not support Android studio dolphin #3

Closed
kirin233x opened this issue Dec 15, 2022 · 5 comments
Closed

Not support Android studio dolphin #3

kirin233x opened this issue Dec 15, 2022 · 5 comments
Labels
JetBrains Runtime Something related to JetBrains Runtime

Comments

@kirin233x
Copy link

No description provided.

@LiLittleCat
Copy link
Owner

LiLittleCat commented Dec 15, 2022

@kirin521 First of all, thank you for using my plugin.
Try this version to see if it supports: https://drive.google.com/file/d/11SVjO4yJyH7Ridc3Z0Ugs_1VBREwDxW9/view?usp=sharing

@LiLittleCat
Copy link
Owner

LiLittleCat commented Dec 16, 2022

First of all, thank you for using my plugin. Try this version to see if it supports: https://drive.google.com/file/d/11SVjO4yJyH7Ridc3Z0Ugs_1VBREwDxW9/view?usp=sharing

@kirin521 The version I provided earlier cannot work in Android Studio Dolphin either.
I thought at first that it was because the since-buid number was too high, but it's not only that.
This plugin uses JCEF(Java Chromium Embedded Framework) to render the content.
In Android Studio Dolphin, built on IntelliJ Platform 2021.3.1, the JCEF environment is not integrated with the runtime environment by default. So when the plugin starts, the check for support step will fail.

To solve this issue, I suggest you do the following:

  • Check the Registry to make sure jcef is enabled
    • Use "Search everywhere" (default shortcuts: Double ⇧ Shift) and search for Registry
      z7ibx1.png
    • Make sure the ide.browser.jcef.enabled is checked
      z7iXqK.md.png
  • Change the runtime
    • Open menu Help > Find Action… (default shortcuts: ⇧ Shift + ⌘ Cmd + A) and search for Choose Boot Java Runtime for the IDE… and execute
      z7iH2R.png
      z7FeIg.png
    • In the dialog open the drop-down Select runtime
      z7iOr6.png
    • Take the default selection or choose from the More Runtimes one with JCEF in its title. Confirm with OK.
      z7iLKx.png
    • After downloading and installing you have to apply the changes with Restart now
      z7ivVO.png
    • Now you can enjoy the plugin
      z7kFfJ.md.png
    • If you failed to set runtime by automatically downloading, you can manually download the runtime in https://github.com/JetBrains/JetBrainsRuntime/releases, search the name in Select runtime referred above, and download it to the local path, unzip it and choose the Add Custom Runtime to use it
      z7ixaD.png
      z7FpPH.png
      z7izIe.png
    • If there are other issues after changing runtime, use the Use Default Runtime button to reset it
      z7F9Gd.png

@LiLittleCat LiLittleCat pinned this issue Dec 16, 2022
@LiLittleCat LiLittleCat added the JetBrains Runtime Something related to JetBrains Runtime label Dec 16, 2022
@kirin233x
Copy link
Author

Sorry I just got the message. I'll try later. thanks!

@obiscr
Copy link

obiscr commented Feb 8, 2023

@LiLittleCat 太棒了,解决方案

@NinhDucAnh
Copy link

I tried so many times your way but it still doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JetBrains Runtime Something related to JetBrains Runtime
Projects
None yet
Development

No branches or pull requests

4 participants