react native报错origin 'http://192.168.1.192:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
摘要:报错如下: 原因是因为浏览器debug地址是http://192.168.1.192:8081/debugger-ui/,把谷歌浏览器地址改成http://localhost:8081/debugger-ui/,再重新跑程序就好了。还不行就多刷新几次http://localhost:8081/deb
阅读全文
posted @
2018-11-16 10:22
lxy02
阅读(1395)
推荐(0)
报错Could not find any version that matches com.google.android.gms:play-services-vision-common:[15.0.2]
摘要:react-native run-android的时候报错: 解决方法如下: 在node_modules/react-native-camera/android/build.gradle下: 将红框框之前的版本改成11.0.2就可以了
阅读全文
posted @
2018-11-08 12:02
lxy02
阅读(599)
推荐(0)
react native报错unable to connect with remote debugger
摘要:报错如下: 解决方法: 我已经确认自己的手机和电脑处在同一个wifi下,并且app的id地址也是对的 1、试过清理谷歌缓存2、关闭那些个什么FQ代理的进程 3、重启电脑4、把手机上的app卸载了,重新react-native run-android,然后配置dev setting,重新debug r
阅读全文
posted @
2018-11-06 11:05
lxy02
阅读(458)
推荐(0)