我在WebView
中从sdcard加载HTML文件时遇到此致命异常。这只发生在几个HTML文件中;其他人装得正确。可能是什么问题?
无法解决此问题。
E/SensorManager(2425): Error: Sensor Event is null for Sensor: {Sensor name="MPL Accelerometer",vendor="Invensense", version=1, type=1, "Accelerometer", vendor="Invensense", version=1, type=1, maxRange=19.6133, resolution=0.039226603, power=5.5, minDelay=1000}
08-06 23:52:41.170: D/chromium(2425): Unknown chromium error: -6
08-06 23:52:41.250: E/Web Console(2425): Uncaught ReferenceError: OTW is not defined at file:///storage/emulated/0/123/ads/1/index.html:2104
FATAL EXCEPTION: WebViewCoreThread
java.lang.NullPointerException
at android.webkit.DeviceMotionService$2.run(DeviceMotionService.java:103)
at android.webkit.DeviceMotionService$2.run(DeviceMotionService.java:103)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:814)
at java.lang.Thread.run(Thread.java:841)