beansoft / react-native-console

🧩 an IDEA/WebStorm/Android Studio Plugin for One-Click run React Native commands in embed terminal
BSD 3-Clause "New" or "Revised" License
185 stars 28 forks source link

Fix JBR issue on Android Studio with Tips or automatically open the Choose Boot Runtime Action #75

Open beansoft opened 1 year ago

beansoft commented 1 year ago

When clicking preview the package.json's dependencies section, an error is thrown:

Caused by: java.lang.IllegalStateException: JCEF is not supported in this env or failed to initialize
at com.intellij.ui.jcef.JBCefApp.getInstance(JBCefApp.java:252)
at com.intellij.ui.jcef.JCEFHtmlPanel.<clinit>(JCEFHtmlPanel.java:17)

Android Studio Flamingo | 2022.2.1 Patch 2 Build #AI-222.4459.24.2221.10121639, built on May 12, 2023 Runtime version: 17.0.6+0-17.0.6b802.4-9586694 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 13.2.1 GC: G1 Young Generation, G1 Old Generation Memory: 1280M Cores: 10 Metal Rendering is ON Registry: external.system.auto.import.disabled=true ide.text.editor.with.preview.show.floating.toolbar=false ide.instant.shutdown=false gradle.version.catalogs.dynamic.support=true

Non-Bundled Plugins: com.intellij.marketplace (222.4459.28) com.github.beansoftapp.reatnative.idea (2023.2.0) com.github.beansoft.iscratch (2022.2.10)