为了使用轮播图导入了这个第三方库,但是出现一个莫名其妙的bug:
可我寻思着没用这个viewpageandroid啊,而且看github上两个月前还在更新,应该不存在过时的说法,也没有搜到跟我类似的问题,很郁闷。
在github的issue里找到了方法:
I removed 1.5.14 (yarn remove react-native-swiper
) then installed the nightly withyarn add react-native-swiper@nightly
and it's working on Android now.
这里我也收录了一些开发过程中的其他问题,解决方法及仅供参考:
https://ui-mario.github.io/2019/12/06/RN%E5%A1%AB%E5%9D%91/
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。