![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
RN
帅呈程序缘
一个与程序有缘的人
展开
-
RN: lnvariant violation: react.children.only expected to receive a single react element child.
lnvariant violation: react.children.only expected to receive a single react element child.这个错误是只能包含一个<View>,TouchableHighlight下面不能有两个子元素。<TouchableHighlight><View></View>...原创 2018-09-13 16:51:56 · 795 阅读 · 0 评论 -
RN: android 显示 gif compile 'com.facebook.fresco:fresco
打开这个文件: 项目\android\app\build.gradle亲测好用!除了这个1.9.0\1.3.0\0.14.0\0.13.0\0.9.0\0.7.0均不好用~~~dependencies 添加compile 'com.facebook.fresco:fresco:1.5.0'和compile 'com.facebook.fresco:animated-gif:1.5.0'...原创 2018-09-13 17:11:13 · 1826 阅读 · 0 评论 -
RN: com.android.builder.testing.api.DeviceException: No connected devices!
com.android.builder.testing.api.DeviceException: No connected devices!没有开启android模拟器,需要genymotion开启模拟器~原创 2018-09-13 17:16:46 · 4972 阅读 · 0 评论 -
RN:TextInput 文字颜色 color
<TextInput placeholderTextColor="#a5a5a5" />placeholderTextColor 设置占位文字字体颜色原创 2018-09-13 21:27:13 · 4057 阅读 · 0 评论 -
RN: TextInput 去除下滑线
underlineColorAndroid android下面的下滑线去除<TextInput underlineColorAndroid='transparent' />原创 2018-09-13 21:28:40 · 269 阅读 · 0 评论 -
RN: cloud not connect to development server.
cloud not connect to development server.react-native 服务器没有开启。重新开启。原创 2018-09-14 09:22:56 · 374 阅读 · 0 评论 -
RN: unable to load script form assets 'x'. make sure your bundle is packaged correctly or you're ...
unable to load script form assets 'x'. make sure your bundle is packaged correctly or you're running a packager server.react native 服务启动时闪退,重启即可。原创 2018-09-14 09:24:28 · 333 阅读 · 0 评论 -
RN: the development server returned response error code: 500
the development server returned response error code: 500开发服务器返回响应错误代码:500一般情况是RN服务器报错,去看一下报的什么错,一般情况是代码写的有问题。修改后从新加载模拟器就可以了 ...原创 2018-09-14 12:37:38 · 2152 阅读 · 0 评论