shuzijun / markdown-editor

IntelliJ Platform A full-featured WYSIWYG editor for markdown
https://plugins.jetbrains.com/plugin/17254-markdown-editor
Apache License 2.0
155 stars 35 forks source link

Android Studio Solution #4

Open gedoor opened 2 years ago

gedoor commented 2 years ago

image

shuzijun commented 2 years ago

Since android studio does not support JCEF and the built-in server requires authentication, which hinders the operation of this plugin. https://issuetracker.google.com/issues/159933628 https://issuetracker.google.com/issues/112765987

shuzijun commented 2 years ago

Version 1.6+ has supported android studio, you can install jbr with jcef in the following way.

  1. Install the plugin “Choose Runtime”
  2. Select the corresponding jbr version to download through the link, which must have JCEF. ~https://confluence.jetbrains.com/display/JBR/Release+notes+and+builds~ https://github.com/JetBrains/JetBrainsRuntime
  3. Refer to Selecting-the-JDK-version-the-IDE-will-run-under, select the downloaded jbr.
gedoor commented 2 years ago

Version 1.6+ has supported android studio, you can install jbr with jdef in the following way.

  1. Install the plugin “Choose Runtime”
  2. Select the corresponding jbr version to download through the link, which must have JCEF. https://confluence.jetbrains.com/display/JBR/Release+notes+and+builds
  3. Refer to Selecting-the-JDK-version-the-IDE-will-run-under, select the downloaded jbr.

OK

gedoor commented 2 years ago

已成功

SwallowJoe commented 2 years ago

最新版本Android Studio 无法直接找到“choose runtime”插件,可以在官网下载后本地加载,然后选择支持FCEF的jbr即可:参考这个blog: https://blog.csdn.net/tangshg/article/details/120776057

Vixb1122 commented 2 years ago

可以下载支持的 jbr,将文件夹名称更改为 jre,替换掉 android studio 根目录的 jre 即可

wxjer commented 2 years ago

最新版本Android Studio 无法直接找到“choose runtime”插件,可以在官网下载后本地加载,然后选择支持FCEF的jbr即可:参考这个blog: https://blog.csdn.net/tangshg/article/details/120776057

android studio 可以通过 help->find action->choose runtime 来打开这个插件,然后install你下载的jbr

hendrysetiadi89 commented 1 year ago

There is no "Choose Runtime" Plugin. The solution does not work.

Screen Shot 2023-02-08 at 10 30 46
shuzijun commented 1 year ago

There is no "Choose Runtime" Plugin. The solution does not work. Screen Shot 2023-02-08 at 10 30 46

@hendrysetiadi89 https://plugins.jetbrains.com/plugin/12836-choose-runtime

iCytus commented 1 year ago

在安装完choose runtime后,可以先尝试双击 shift 键,搜索 Choose Boot java Runtime,接着在 New 那一栏选一个JCEF安装,安装成功后重启即可。若是此方法失效,再考虑下载对应版本的 jbr 来安装

karan-0603 commented 1 year ago
  1. Go to Help > Find Action image

  2. Type Choose Runtime and select Choose java runtime image

  3. Select run time which says with JCEF in it and restart the android studio image

NanaXie commented 3 months ago

最新Android Studio Hedgehog | 2023.1.1 Patch 2 Build #AI-231.9392.1.2311.11330709, built on January 19, 2024 Runtime version: 17.0.7+0-b2043.56-10550314 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation Memory: 4096M Cores: 8 Registry: external.system.auto.import.disabled=true suggest.all.run.configurations.from.context=true debugger.new.tool.window.layout=true ide.text.editor.with.preview.show.floating.toolbar=false ide.experimental.ui=true

Non-Bundled Plugins: leetcode-helper (1.8.5) Dart (231.9411) com.shuzijun.markdown-editor (2.0.5) io.flutter (78.0.1) 该版本尝试选择runtime bundled 后还是找不到JCEF,最后发现替换的JCEF没有生效,就使用上述有同学提供的方法,直接把可以下载支持的 jbr,将文件夹名称更改为 jbr,替换掉 android studio 根目录的 jbr 即可,这个方式改完在help中about中查看版本Runtime version: 已经更新了