I have a toolbar with menu icon and I have attached a click on the menu which opens the left drawer.
I have tested on multiple devices without any issues. But on Play Store I see crashes due to this. The effected devices on Redmi Note 4 and 5.
Complete log below.
java.lang.IllegalArgumentException:
at android.support.v4.widget.DrawerLayout.openDrawer (DrawerLayout.java:1618)
at gamesmint.com.jsone.NewLayoutActivity$1.onClick (NewLayoutActivity.java:199)
at android.view.View.performClick (View.java:6304)
at android.view.View$PerformClick.run (View.java:24803)
at android.os.Handler.handleCallback (Handler.java:790)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6600)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:518)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:821)