React Native 错误锦集

启动时报错 : React Native version mismatch. JavaScript version: 0.57.4 Native version: 0.55.2

解决方案传送门:https://blog.csdn.net/awy1988/article/details/80336913

在 androidappuild.gradle 中 找到 com.facebook.react:react-native

将原来的 "com.facebook.react:react-native:+" 改为 "com.facebook.react:react-native:0.55.2"

然后再次重装: $ react-native run-android


报错信息:':app:_debugApk' ...[Android Support Repository]

解决方案:打开 SDK Manager.exe,找到最下面的 Extras,再展开选择 “Android Support Repository” 安装即可

原文地址:https://www.cnblogs.com/CyLee/p/9915837.html