NullPointerException at ToastyUtils (minify enabled) Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.content.Context.getDrawable(int)' on a null object reference #116
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.
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.