SmartRefreshLayout报错Cannot access ‘android.support.v4.view.NestedScrollingParent
报错:Cannot access ‘android.support.v4.view.NestedScrollingParent’ which is a supertype of ‘com.scwang.smart.refresh.layout.SmartRefreshLayout’. Check your module classpath for missing or conflicting de
·
报错:Cannot access ‘android.support.v4.view.NestedScrollingParent’ which is a supertype of ‘com.scwang.smart.refresh.layout.SmartRefreshLayout’. Check your module classpath for missing or conflicting dependencies
原因: 没有自动引用AndroidX对应的v4包
解决:
在gradle.properties添加:
android.enableJetifier=true
更多推荐
已为社区贡献18条内容
所有评论(0)