I implement this library into Flutter. When in debug mode, it goes well, but after I built it in release mode, it crashes.
Fatal Exception: java.lang.ExceptionInInitializerError
at retrofit2.converter.gson.GsonConverterFactory.create(GsonConverterFactory.java)
at dev.doubledot.doki.api.remote.DokiApiService$Companion.create(DokiApiService.java:12)
at dev.doubledot.doki.api.tasks.DokiApi$dokiApiService$2.invoke(DokiApi.java:2)
at dev.doubledot.doki.api.tasks.DokiApi$dokiApiService$2.invoke(DokiApi.java)
at kotlin.SynchronizedLazyImpl.getValue(SynchronizedLazyImpl.java:20)
at dev.doubledot.doki.api.tasks.DokiApi.getDokiApiService(DokiApi.java:7)
at io.reactivex.Observable.subscribe(Observable.java:5)
at dev.doubledot.doki.api.tasks.DokiApi.getManufacturer(DokiApi.java:5)
at dev.doubledot.doki.views.DokiContentView.loadContent(DokiContentView.java:21)
at dev.doubledot.doki.ui.DokiActivity.onCreate(DokiActivity.java:52)
at android.app.Activity.performCreate(Activity.java:8109)
at android.app.Activity.performCreate(Activity.java:8083)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1310)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3474)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3661)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2108)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:7876)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)
Caused by java.lang.RuntimeException: Missing type parameter.
at com.google.gson.reflect.TypeToken.getSuperclassTypeParameter(TypeToken.java:3)
at com.google.gson.Gson$1.<init>(Gson.java)
at com.google.gson.Gson.<clinit>(Gson.java:2)
at retrofit2.converter.gson.GsonConverterFactory.create(GsonConverterFactory.java)
at dev.doubledot.doki.api.remote.DokiApiService$Companion.create(DokiApiService.java:12)
at dev.doubledot.doki.api.tasks.DokiApi$dokiApiService$2.invoke(DokiApi.java:2)
at dev.doubledot.doki.api.tasks.DokiApi$dokiApiService$2.invoke(DokiApi.java)
at kotlin.SynchronizedLazyImpl.getValue(SynchronizedLazyImpl.java:20)
at dev.doubledot.doki.api.tasks.DokiApi.getDokiApiService(DokiApi.java:7)
at io.reactivex.Observable.subscribe(Observable.java:5)
at dev.doubledot.doki.api.tasks.DokiApi.getManufacturer(DokiApi.java:5)
at dev.doubledot.doki.views.DokiContentView.loadContent(DokiContentView.java:21)
at dev.doubledot.doki.ui.DokiActivity.onCreate(DokiActivity.java:52)
at android.app.Activity.performCreate(Activity.java:8109)
at android.app.Activity.performCreate(Activity.java:8083)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1310)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3474)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3661)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2108)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:7876)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)