Android version of React-Native won't run due to 'Attempted to redefine property 'fontWeight'

余生颓废 提交于 2019-12-25 02:55:57

问题


The iOS version of my app works fine. However, when I attempt to run the android version in debug mode, I immediately get this error:

If I dismiss the error, I am able to continue. However, when I build the apk with assembleRelease, the apk is built, but it immediately crashes on load. I've double checked to make sure that fontWeight isn't being set twice in any of the components. I've also cleared the cache.

Is there a way to check where exactly this error is occurring?

I've also seen this error:

来源:https://stackoverflow.com/questions/55369086/android-version-of-react-native-wont-run-due-to-attempted-to-redefine-property

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!