简体   繁体   English

版本6.0中的Android Webview上没有WebGL

[英]No WebGL on Android Webview in version 6.0

I just bought the latest Samsung Galaxy S7 for the sole purpose of actually being able to use its WebView. 我刚购买了最新的三星Galaxy S7,其唯一目的是实际上能够使用其WebView。 If you didnt know paid Android developers have basically been screwing over the little guy by not allowing us to have the full Chrome WebView capabilities inside the Android developer WebView. 如果您不知道,付费的Android开发人员基本上不允许他们在Android开发人员WebView中拥有完整的Chrome WebView功能,因此一直在困扰着这个小家伙。 Over the last few generations of Android they have been slowly releasing these features which shouldve been included in the first place, occasionally in sketchy/bulky platforms like Crosswalk. 在过去的几代Android中,他们一直在缓慢发布这些功能,这些功能本来应该包含在第一位的,偶尔在诸如Crosswalk之类的粗略/庞大的平台中也是如此。 This is the third device I am trying and is brand new and still cant do it. 这是我正在尝试的第三台设备,并且是全新的,仍然无法使用。

I have tried: Upgrading my device (it's Android 6.0) 我尝试过:升级设备(Android 6.0)

Updating Android WebView from the Play Store 从Play商店更新Android WebView

Testing in Chrome Browser (my website loads with WebGL here) 在Chrome浏览器中进行测试(我的网站在此处加载了WebGL)

Testing in Chrome Browser for Android (my website loads with WebGL here) 在Android版Chrome浏览器中进行测试(我的网站在此处加载了WebGL)

Testing inside an Android webview inside my app (my website fails and says WebGL is not supported) 在我的应用程序中的Android Webview中进行测试(我的网站失败,并说不支持WebGL)

Implementing Crosswalk (Wont be embedded in an existing android application without forcing user to download separate app. Is bloaty and fragile) 实现人行横道(不会嵌入到现有的android应用程序中,而不会强迫用户下载单独的应用程序。该方法过时且脆弱)

Unfortunately there is not much documentation on this and if you look at other answers devices are really spotty on whether they have it, but almost all phones after Android L are supposed to. 不幸的是,关于此问题的文档并不多,如果您查看其他答案,设备在是否具备此功能方面确实很参差不齐,但应该是Android L之后的几乎所有手机。 This is a full version later. 稍后是完整版本。 How could they just not include it? 他们怎么可能不包括它呢?

This month's patch actually fixed everything. 这个月的补丁实际上修复了所有问题。 Just download a system update if you're on an S7. 如果您使用的是S7,则只需下载系统更新即可。 Thanks to whoever filed the bug report. 感谢提交错误报告的人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM