美文网首页android
Error inflating class android.su

Error inflating class android.su

作者: 小竹子爱广播 | 来源:发表于2017-12-05 23:44 被阅读4次
QQ图片20171205234755.png

问题:
在运行Eclispe Viewpager时,遇到Error inflating class android.support.v4.view.ViewPager

解决方案:
1,右键项目选择Build Path ->Configure Build Path,
2,然后选择Order and export 选项.
3,置顶android-support-v4.jar并且将该选项勾上,
4,然后Clean下项目,
5,重新编译问题就解决了~

相关文章

网友评论

    本文标题:Error inflating class android.su

    本文链接:https://www.haomeiwen.com/subject/cpihixtx.html