SwipeRrefreshLayout——报错

来源:互联网 发布:淘宝店铺信誉有什么用 编辑:程序博客网 时间:2024/06/02 03:46

For me, the problem was that one of my library projects was using v13 of the support library: android-support-v13.jar.

So look out for a message like this in your logs:

Found both android-support-v4 and android-support-v13 in the dependency list.Because v13 includes v4, using only v13.

If you see that warning, make sure your library project also includes the latest support library, otherwise your v4 library might get superseded by an old v13 library (which obviously does not include the new SwipeRefreshLayout).

可能是你的工程下同时存在

android-support-v13和v4,v4会被旧版的v13替代掉,而旧版的v13没有SwipeRefreshLayout!!!
解决办法:直接移除v13~大功告成 太坑人了!

0 0
原创粉丝点击