Admob launches application with NullPointerException in DeviceMotionService

Our application receives many NullPointerExceptions in DeviceMotionService. We do not have a WebView application in our application; this seems to be related to the Admob SDK. How can I get around the problem to prevent crashes?

java.lang.NullPointerException at android.webkit.DeviceMotionService$2.run(DeviceMotionService.java:103) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:734) at java.lang.Thread.run(Thread.java:856) 

DeviceMotionService.java is part of the Android SDK. This is not like what I can fix using answers What is a NullPointerException and how can I fix it?

+5
source share

Source: https://habr.com/ru/post/1258799/


All Articles