Cannot access 'androidx.lifecycle.ViewModel' which is a supertype of 'com.example.account.AccountViewModel'
vivart opened this issue · 3 comments
First of all thanks for all the awesome libs.
I have added this dependency in my shared folder.
api("com.rickclephas.kmm:kmm-viewmodel-core:1.0.0-ALPHA-9")
and created this class
class AccountViewModel : KMMViewModel() {}
and I am getting this error
Cannot access 'androidx.lifecycle.ViewModel' which is a supertype of 'com.example.account.AccountViewModel'. Check your module classpath for missing or conflicting dependencies
Am I missing some dependency or some configuration?
Hi sorry about that the current version has a small dependency issue (which will be fixed in the next release).
For the temporary workaround please see #34 (comment).
thanks working fine with workaround.
FYI this has been fixed in v1.0.0-ALPHA-10.