For local storage we used Room Database and it working fine on emulator but same build is crashing on real clover mini device.
Error log
java.lang.NoClassDefFoundError: com.xx.xx.database.room.InventoryDatabase$Companion$MIGRATION_1_2$1 at com.xx.xx.database.room.InventoryDatabase.<clinit>(InventoryDatabase.kt:50) at com.xx.xx.app.App.onCreate(App.kt:24) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4347) at android.app.ActivityThread.access$1500(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1259) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5020) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method)