LoadingButtonAndroid icon indicating copy to clipboard operation
LoadingButtonAndroid copied to clipboard

Need Prograud Config?

Open dineshmm23 opened this issue 6 years ago • 4 comments

java.lang.IllegalArgumentException: Parameter specified as non-null is null: method b.a.b.g.b, parameter bitmap
        at br.com.simplepass.loadingbutton.customViews.CircularProgressButton.a(Unknown Source:2)
        at com.demo.fragment.OtpVerificationFragment$2.a(Unknown Source:262)
        at e.h$a$1$1.run(Unknown Source:41)
        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:6626)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)

dineshmm23 avatar Feb 23 '19 07:02 dineshmm23

Hello, could you provide more context and detail? It is hard to understand the problem just with the stack trace.

leandroBorgesFerreira avatar Feb 26 '19 19:02 leandroBorgesFerreira

Sorry , for not providing the details or context.

This happens only in release mode :->

Bitmap bitmap = BitmapFactory.decodeResource(mContext.getResources(), R.drawable.ic_check_white_24dp);
btnUpdateStatus.doneLoadingAnimation(R.color.green_complete, bitmap);

When using the above method without any progaurd rule...it carshes the app..

So currently I don't know what progaurd rules to add to it...so if possible any Proguard rules if add may fix the issues I think...

dineshmm23 avatar Mar 01 '19 06:03 dineshmm23

Proguard normally only remove code that doesn't have direct access... like reflection stuff. That's odd... I'll take a look

leandroBorgesFerreira avatar May 15 '19 04:05 leandroBorgesFerreira

This issue is still there and app is crashing. @dineshmm23 are you able to fix it?

HeyIts-RJ avatar Jun 09 '20 05:06 HeyIts-RJ