简体   繁体   English

无法在Android 4.4 WebView中读取CSS

[英]CSS not read in Android 4.4 WebView

I'm using a WebView in my app. 我在我的应用程序中使用WebView。 This loads html, css and js files on the device. 这会在设备上加载html,css和js文件。 Everything works fine for API18 or lower. 对于API18或更低版本,一切正常。 In 19, Chromium is used for the WebView and my app no longer works. 在19年,Chromium用于WebView,我的应用程序不再起作用。 There's no CSS applied to the html. 没有将CSS应用于html。 The targetSdk is 18. Upgrading targetSdk to 19 causes my Javascript to malfuntion... targetSdk为18。将targetSdk升级到19会导致我的Javascript故障。

Does any body know what could be the cause of this? 有谁知道这可能是什么原因?

There's no CSS applied to the html. 没有将CSS应用于html。

In 99% of cases it means CSS is not loaded. 在99%的情况下,这表示未加载CSS。

Upgrading targetSdk to 19 causes my Javascript to malfuntion... 将targetSdk升级到19会导致我的Javascript出现故障...

Errors? 错误? Can you post errors here? 您可以在此处发布错误吗?

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

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