# Implementing webview toolwindows in Android Studio

**URL:** <https://platform.jetbrains.com/t/implementing-webview-toolwindows-in-android-studio/684>\
**Category:** IntelliJ Platform\
**Created:** [February 24, 2025, 5:58pm UTC](https://platform.jetbrains.com/t/implementing-webview-toolwindows-in-android-studio/684 "2025-02-24T17:58:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AidanTran](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/aidantran/32/605_2.png) [@AidanTran](https://platform.jetbrains.com/u/AidanTran)\
**Post date:** [February 24, 2025, 5:58pm UTC](https://platform.jetbrains.com/t/implementing-webview-toolwindows-in-android-studio/684/1 "2025-02-24T17:58:21Z")

</div>

Hello,

I am building an Android Studio plugin, and it would be really valuable to surface a webview inside a toolwindow. I am aware that Android Studio doesn’t provide JCEF bundled with their JDKs, and they haven’t for 4 years. So its probably not going to change anytime soon.

I want to avoid, if possible, recommending users to change their IDE JDK as this is not recommended by JetBrains or Android Studio.

Are there other implementation options?  
Very similar question to this post: [https://intellij-support.jetbrains.com/hc/en-us/community/posts/10430962887442-JCEF-is-not-supported-in-Android-Studio](https://intellij-support.jetbrains.com/hc/en-us/community/posts/10430962887442-JCEF-is-not-supported-in-Android-Studio)

I’ve found that the Flutter plugin (developed by google), uses a paid service JxBrowser as a fallback alternative in their Android Studio implementation. This seems like a bad sign to me.

In the earlier post the JFrog Maintainer mentions JCEFMaven, is this a viable alternative to the bundled Jetbrains JCEF? If it is, which features could be missing?

Advice here would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Vladimir.Kharitonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/vladimir.kharitonov/32/525_2.png) [@Vladimir.Kharitonov](https://platform.jetbrains.com/u/Vladimir.Kharitonov)\
**Post date:** [February 25, 2025, 1:10pm UTC](https://platform.jetbrains.com/t/implementing-webview-toolwindows-in-android-studio/684/4 "2025-02-25T13:10:18Z")

</div>

Hi Aidan,  
I can’t answer the question of whether this is a viable alternative. We didn’t test it. I guess it technically possible to run other than JBCEF browsers.  
Possible issues you may face trying to bring JCEF into your plugin:

1. Compatibility with JBCEF. Running 2 instances of a chromium browser within the same process most likely will result in a crash. So you won’t be able to run the browser from JCEFMaven if JBCEF is running and vice versa.
2. I think sandboxing will work only on Linux(if it’s needed)
3. There is some [layer](https://github.com/JetBrains/intellij-community/tree/5e32d440ba13a0102a4e2c8ebee1b520470ffdcb/platform/ui.jcef/jcef) that integrates the browser into IJ platform. This won’t be available. I think the most important part here is offscreen rendering. That’s no necessary, the browser could work as a heavyweight component. But there are some issues with it.
4. The browser is a huge and quite complicated native dependency with all the consequences that follow.

As peace of advice I can add that maintaining such dependency could be quite costly.  
**This should not break the existing platform functionality and stability.** Simply speaking no JVM crashes, JBCEF should work. Practically, I think, it’s hardly possible with the browser.

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [April 20, 2026, 3:28pm UTC](https://platform.jetbrains.com/t/implementing-webview-toolwindows-in-android-studio/684/6 "2026-04-20T15:28:37Z")

</div>

We have an update

> [@Experimental JCEF Web Browser API support for Android Studio](https://platform.jetbrains.com/t/experimental-jcef-web-browser-api-support-for-android-studio/4117):
>
> We’re excited to announce that the [JCEF (Java Chromium Embedded Framework)](https://plugins.jetbrains.com/docs/intellij/embedded-browser-jcef.html#using-jcef-in-a-plugin) web browser API is now experimentally available for Android Studio — a capability previously limited to other JetBrains IDEs. This brings the full embedded browser API to Android Studio builds. What’s New We’ve published an experimental plugin — [Web Browser (JCEF)](https://plugins.jetbrains.com/plugin/31360-web-browser-jcef-) — that enables JCEF APIs in Android Studio. The plugin delivers native JCEF binaries bundled within its resources, so everything you need is included out of t…
