react-native的一些配置問題
在使用react-navigation時,用react-native-screens一直報錯:
Task :react-native-screens:compileDebugJavaWithJavac FAILED
RN的版本是0.61.5,需要降級react-native-screens到2.6.0版本才能用。
另外用VSCode時,新的RN項目會報一系列的Format錯誤,一堆波浪線看的很鬧心,編輯settings.json,添加 "eslint.enable": false 即可。