- 📚 相关推荐文章
- 息县息都小学五年级数学上册期末试卷 推荐
- 泰州太湖路小学苏教版数学期末测试卷 推荐

Cannot access ‘androidx.lifecycle.HasDefaultViewModelProviderFactory‘ which is a supertype of ‘com.e
Cannot access ‘androidx.lifecycle.HasDefaultViewModelProviderFactory’ which is a supertype of ‘com.example.a19.MainActivity’. Check your module classpath for missing or conflicting dependencies
今天创建了个项目,突然出现了这样的问题,怎么处理都没用,网上找了一堆没发现答案,故此记录。
增加这个依赖到你的build即可解决。
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'👁️ 阅读量:0
© 版权声明:本文《Cannot access ‘androidx.lifecycle.HasDefaultViewModelProviderFactory‘ which is a supertype of ‘com.e》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1686957894a408271.html。