问题是这样的:
穿山甲找不到ViewPagerLayoutManager这个类
图示:代码类确实展示:穿山甲的DrawNativeVideoActivity
穿山甲的gradle里的依赖implementation(name: ‘LayoutManagerGroup’, ext: ‘aar’)没加载出来
然后只能我们自己找个替代的依赖:
找的替代依赖所示:
第一步:Add in the Root level build.gradle:
allprojects{
repositories {
...
maven { url 'https://jitpack.io' }
}
}
第二步
//仿抖音视频滑动丁某人
implementation 'com.github.DingMouRen:LayoutManagerGroup:1e6f4f96eb'
然后就编译成功,可以运行了,如果此篇文章解决了你的问题,请运动下小手指点个赞,有问题加我qq群:620211664