React Native 踩坑总结

开发工作今天算是告一段落啦,经过这段时间的磨炼,简直啦,唉,不说啦,总结一下这段时间的踩坑经历。

 1. react native "RNCViewPager" was not found in the UIManager. 
    第三方组件 (react-native-scrollable-tab-view) tab标签栏的ViewPager无法滑动         
   方法论: https://www.jianshu.com/p/69207a886d3a

 2. echarts 图表显示的问题。引发 webView,android v4 和 AndroidX不兼容问题---尽量不要更新studio
    方法论:https://blog.csdn.net/zhizhuodewo6/article/details/92796416

 3.  第三方依赖报错  查看是否link成功   RN手动link的作用 
     方法论:https://blog.csdn.net/Cui_xing_tian/article/details/93503835 

 4.Found react-native-camera 'mlkit' but wasn't required. 
   方法论:https://www.cnblogs.com/wukong1688/p/11029562.html  解决链接
          https://segmentfault.com/a/1190000016510291     添加相关链接
 
 5.Echarts报错; Webview 的react native webView 
    方法论:https://www.jianshu.com/p/bae7aac5c7ab 
    echarts   增加X轴滑动条
    方法论: https://blog.csdn.net/weixin_41762532/article/details/81288787?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
    折线统计图参考链接
    方法论:https://blog.csdn.net/whuzjn/article/details/79818346           
      
6. react native  Cannot fit requested classes in a single dex file (# methods: 73695 > 65536)
    方法论:https://blog.csdn.net/zyw0101/article/details/91375106

 7. 周的数量范围  
   方法论:http://www.pianshen.com/article/9545338127/ 
   周数的 开始范围和结束范围
   方法论:https://blog.csdn.net/chengliang666/article/details/88172050 

 8. React-Native安卓 自动下载APK文件并安装
     方法论:https://blog.csdn.net/weixin_42284466/article/details/84898859  
    ReactNative获取版本号android
    方法论:https://www.jianshu.com/p/beeabee641eb   
    openUrl跳转浏览器
    方法论:https://blog.csdn.net/xjl271314/article/details/80285636  
    版本号比较大小
    方法论:https://www.jianshu.com/p/ee1990270ee1 

9.实现查看更多效果
   方法论:https://www.jianshu.com/p/680c274a7eae     
  与预期效果不太符合  查看更多效果
  方法论:https://segmentfault.com/q/1010000005933812    
  日期组件的选用  
  方法论:https://www.jianshu.com/p/71b196cf55e8        
  StatusBar的使用
  方法论:https://blog.csdn.net/suwu150/article/details/82945480         
  RN 页面刷新的问题
  方法论:https://www.meiwen.com.cn/subject/hyrduxtx.html   

欢迎小伙伴们留言、点赞哦!加油,继续踩坑吧。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章