为了使用轮播图导入了这个第三方库,可是出现一个莫名其妙的bug:react
可我寻思着没用这个viewpageandroid啊,并且看github上两个月前还在更新,应该不存在过期的说法,也没有搜到跟我相似的问题,很郁闷。android
在github的issue里找到了方法:git
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/github