Caused by: java.lang.RuntimeException: Cannot create an instance of class com.hisense.smartlab.link.tv.ui.LoginViewModel
02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$NewInstanceFactory.create(ViewModelProvider.java:221)
02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:278)
02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:112)
02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:185)
02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:150)
02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelLazy.getValue(ViewModelProvider.kt:54)
02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelLazy.getValue(ViewModelProvider.kt:41)
02-25 14:56:53.059 15106 15106 E AndroidRuntime: at com.hisense.smartlab.link.tv.ui.LoginActivity.getMViewModel(LoginActivity.kt:25)
Caused by: java.lang.RuntimeException: Cannot create an instance of class com.hisense.smartlab.link.tv.ui.LoginViewModel 02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$NewInstanceFactory.create(ViewModelProvider.java:221) 02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:278) 02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:112) 02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:185) 02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:150) 02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelLazy.getValue(ViewModelProvider.kt:54) 02-25 14:56:53.059 15106 15106 E AndroidRuntime: at androidx.lifecycle.ViewModelLazy.getValue(ViewModelProvider.kt:41) 02-25 14:56:53.059 15106 15106 E AndroidRuntime: at com.hisense.smartlab.link.tv.ui.LoginActivity.getMViewModel(LoginActivity.kt:25)