Toasty
Toasty copied to clipboard
NullPointerException at ToastyUtils (minify enabled) Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.content.Context.getDrawable(int)' on a null object reference
I am getting a NPM at ToastyUtils because of null reference to getDrawable method. My initial thought is because I've enabled minify and remove unwanted resources, it is causing problem. Is there any workaround for this? I am not willing to disable minify.
You can exclude Toasty from that.
How do I do that? Excluding it from proguard?
Yes.
Did you ever solve this?