报错解决 androidx.swiperefreshlayout.widget.SwipeRefreshLayout不存在

import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;

因为fabric的崩溃分析将无法使用,升级google firebase crashlytics过程中发现以上报错。原先使用的原生刷新组件找不到了。
解决方法:
dependencies中增加:
implementation 'androidx.appcompat:appcompat:1.1.0'

Sync now 搞定!


版权声明:本文为loveseal518原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。