react-native
写代码的小产品
这个作者很懒,什么都没留下…
展开
-
The virtual device got no IP address 跳坑方式
之前百度了很多方式,什么修改ip,修改配置都干过,也没解决,看别人说换一个版本,我试了一下确实不报The virtual device got no IP address 错了,直接运行起来了。原创 2017-07-05 14:08:17 · 605 阅读 · 0 评论 -
真机测试-unable to load script 坑
在android手机上运行react-native项目时 报错:unable to load script from assets 'index.android bundle' ,make sure your bundle is packaged correctly or youu're runing a packager server 解决方案: 第一步:在 andro原创 2017-06-27 21:29:22 · 13019 阅读 · 9 评论 -
React Native android -踩坑之路
1. android Studio 报 Session 'app': Error Launching activity错误 解决方法一: 真机调试拔掉数据线重新插入 方法二: 删除原来存在的apk再运行 方法三: 如果如再按运行有模拟器或者手机选项存在就不用管,再运行一遍就得了 2.点击Reload 报红: could not connect to转载 2017-06-28 09:00:29 · 504 阅读 · 1 评论