Cannot create an instance of class ViewModel December 15, 2022 by Tarik if you are using Hilt, ensure your activity/fragment is having @AndroidEntryPoint annotation