I am using in-app-payments-flutter-plugin, it seems to work fine in debug mode but it crashes in release mode with the following error-:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.academy.app/sqip.internal.CardEntryActivity}: java.lang.RuntimeException: Failed to find the generated JsonAdapter class for class sqip.internal.nonce.j
E/AndroidRuntime(10153): FATAL EXCEPTION: main
E/AndroidRuntime(10153): Process: com.academy.app, PID: 10153
E/AndroidRuntime(10153): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.academy.app/sqip.internal.CardEntryActivity}: java.lang.RuntimeException: Failed to find the generated JsonAdapter class for class sqip.internal.w2.l
E/AndroidRuntime(10153): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2720)
E/AndroidRuntime(10153): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2781)
E/AndroidRuntime(10153): at android.app.ActivityThread.-wrap12(ActivityThread.java)
E/AndroidRuntime(10153): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1508)
E/AndroidRuntime(10153): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(10153): at android.os.Looper.loop(Looper.java:241)
E/AndroidRuntime(10153): at android.app.ActivityThread.main(ActivityThread.java:6274)
E/AndroidRuntime(10153): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(10153): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
E/AndroidRuntime(10153): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
E/AndroidRuntime(10153): Caused by: java.lang.RuntimeException: Failed to find the generated JsonAdapter class for class sqip.internal.w2.l