first off, stack trace:
java.lang.illegalargumentexception: width , height must > 0 @ android.graphics.bitmap.createbitmap(bitmap.java:810) @ android.graphics.bitmap.createbitmap(bitmap.java:789) @ android.graphics.bitmap.createbitmap(bitmap.java:756) @ android.graphics.drawable.vectordrawable$vectordrawablestate.createcachedbitmapifneeded(vectordrawable.java:713) @ android.graphics.drawable.vectordrawable.draw(vectordrawable.java:280) @ android.graphics.drawable.layerdrawable.draw(layerdrawable.java:517) @ android.view.view.getdrawablerendernode(view.java:15463) @ android.view.view.drawbackground(view.java:15412) @ android.view.view.draw(view.java:15222) @ android.widget.framelayout.draw(framelayout.java:598) @ android.view.view.updatedisplaylistifdirty(view.java:14167) @ android.view.view.getdisplaylist(view.java:14189) @ android.view.view.draw(view.java:14959) @ android.view.viewgroup.drawchild(viewgroup.java:3405) @ android.view.viewgroup.dispatchdraw(viewgroup.java:3198) @ android.view.view.updatedisplaylistifdirty(view.java:14162) @ android.view.view.getdisplaylist(view.java:14189) @ android.view.view.draw(view.java:14959)
this doesn't seem happen on > 6.0 devices, can confirm crashes on android 5.1.
some context: app has navigation drawer loads fragment main view. fragments contains viewpager
, contains fragment each "page". inside each of fragments, have basic cardview
map in center , text around.
the stacktrace not give hint in code. might causing this?
Comments
Post a Comment