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

Supporting for Android Studio #17

Open
tddgit opened this issue May 31, 2021 · 2 comments
Open

Supporting for Android Studio #17

tddgit opened this issue May 31, 2021 · 2 comments
Labels
blocked enhancement New feature or request wontfix This will not be worked on

Comments

@tddgit
Copy link

tddgit commented May 31, 2021

Please consider to add support for your app in Android Studio.

@mzdm
Copy link
Owner

mzdm commented May 31, 2021

Hello, yes I'm aware that it's not working on Android Studio and the reason is that Android Studio does not ship with Chromium browser support so it cannot display Webviews like Dartpad or regular Markdowns.

As for now, you can there is a workaround: https://intellij-asciidoc-plugin.ahus1.de/docs/users-guide/features/preview/jcef-preview.html#when-you-can-use-jcef-preview

Issue: https://issuetracker.google.com/issues/159933628?pli=1

However, Android Studio supports JavaFX WebView, but it is very old and buggy so Dartpad might not even work. I'll try it someday.

@mzdm mzdm added enhancement New feature or request blocked labels May 31, 2021
@mzdm mzdm added blocked wontfix This will not be worked on and removed blocked labels Jun 7, 2021
@mzdm
Copy link
Owner

mzdm commented Jun 7, 2021

I've tried today to get it running and unfortunately, JavaFX WebView crashes the whole IDE when some heavy pages are loaded, including Dartpad. Only simple pages like Wikipedia load.

There could be another option, to ship this plugin with the JCEF browser but it would increase the plugin size by about 200 MB which is not feasible. There's also JxBrowser but it is not free.

The workaround mentioned in the README is working and other than that there's nothing left except to wait till they integrate it officially.

... but good news is that they are "working" on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants