Toasty icon indicating copy to clipboard operation
Toasty copied to clipboard

es.dmoral.toasty.ToastyUtils.getDrawable (ToastyUtils.java:55)

Open Maulik61 opened this issue 4 years ago • 2 comments

application crash on Xiaomi, Oppo or realme.

Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference es.dmoral.toasty.ToastyUtils.getDrawable

es.dmoral.toasty.ToastyUtils.getDrawable (ToastyUtils.java:55) es.dmoral.toasty.Toasty.info (Toasty.java:174)

please update the issue.

I am using version 1.4.2 while facing this issue.

Maulik61 avatar Nov 28 '20 08:11 Maulik61

Same problem using 1.5.1.

Crashes in Pixel emulators as well.

Any updates so far?

vintrecenio avatar Dec 04 '20 16:12 vintrecenio

I am also facing the same, can you please fix this issue

rehanshehzad784 avatar Oct 12 '22 13:10 rehanshehzad784