android - MapView OnCreate Throws NullPointerException On LG Devices #2 -


my customers (app users) experiencing same issue described in mapview oncreate throws nullpointerexception on lg devices, after calling getmapasync in onviewcreated method of fragment. same crash happens getmapasync called in oncreate method.

java.lang.nullpointerexception:    @ com.google.maps.api.android.lib6.gmm6.vector.ah.getresources (ah.java:340)   @ android.util.resolutionoverride.<init> (resolutionoverride.java:56)   @ android.view.surfaceview.init (surfaceview.java:207)   @ android.view.surfaceview.<init> (surfaceview.java:187)   @ com.google.maps.api.android.lib6.gmm6.vector.am.<init> (am.java:1)   @ com.google.maps.api.android.lib6.gmm6.vector.ah.<init> (ah.java:3)   @ com.google.maps.api.android.lib6.gmm6.api.am.<init> (am.java:53)   @ com.google.maps.api.android.lib6.gmm6.api.am.a (am.java:49)   @ com.google.android.gms.maps.internal.bv.a (bv.java:38)   @ com.google.maps.api.android.lib6.impl.az.a (az.java:80)   @ com.google.maps.api.android.lib6.impl.az.a (az.java:1)   @ com.google.maps.api.android.lib6.impl.cw.a (cw.java:18)   @ com.google.android.gms.maps.internal.t.ontransact (t.java:17)   @ android.os.binder.transact (binder.java:387)   @ com.google.android.gms.maps.internal.imapviewdelegate$zza$zza.getmap (imapviewdelegate.java) 

these models reporting crash, on android 6:

  • v10 (pplus)
  • yt3-x50f/yoga3 tablet (yt3-x50f)
  • lg g stylo (g4stylusn)
  • lg g4 stylus (mp1s3gds)
  • sol (idol3)
  • lg g4 (p1)
  • lg magna (my90ds)

on android 5.1:

  • lg k4 lte (me1)
  • spree (e1q)
  • v10 (pplus)

most of them lg models.

google play services version used in app:
com.google.android.gms:play-services-maps:10.2.6

due rendering issues, app default turns off hardware acceleration. have none of devices myself kindly ask 1 of above device models install kinsmap https://play.google.com/store/apps/details?id=no.haraluna.rootsmap , follows:

  1. try out map related function opening example project , click map icon on top, check if there crash.
  2. turn on hardware acceleration in settings menu , check if issue gone.

for reference, there google issue on similar case, https://issuetracker.google.com/issues/35827842.

please report findings here.


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -