CRamsan / CoreProject

This is a project that aims to provide a scalable architecture for mobile development.
https://cramsan.com/
1 stars 0 forks source link

Fix java.lang.NoSuchMethodException: com.cramsan.framework.core.NoopViewModel.<init> [class android.app.Application] in androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create (ViewModelProvider.java:267) #143

Closed CRamsan closed 3 years ago

CRamsan commented 3 years ago

Version 5.4.0-debug(1)

Stacktrace

androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create (ViewModelProvider.java:267);

androidx.lifecycle.SavedStateViewModelFactory.create (SavedStateViewModelFactory.java:112);

androidx.hilt.lifecycle.HiltViewModelFactory.create (HiltViewModelFactory.java:69);

androidx.lifecycle.AbstractSavedStateViewModelFactory.create (AbstractSavedStateViewModelFactory.java:69);

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:185);

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:150);

com.cesarandres.ps2link.ActivityContainer.getViewModel;

Reason

java.lang.NoSuchMethodException: com.cramsan.framework.core.NoopViewModel. [class android.app.Application]

Link to App Center

github-actions[bot] commented 3 years ago

Stale issue message