
React Native报错
天蒙蒙亮
这个作者很懒,什么都没留下…
展开
-
react-native报错-Unable to resolve module ‘react’
转载 https://blog.youkuaiyun.com/mapbar_front/article/details/76165239error: bundling failed: “Unable to resolve module react from C:\\Users\\liwd\\Desktop\\mywork\\react-native\\Navigator\\index.android.js: ...转载 2018-04-23 09:45:01 · 7457 阅读 · 0 评论 -
Did not get valid calls back from JS
often when I have the Chrome Dev Tools open while developing React Native Android on my device, I get the following Error:Did not get valid calls back from JS: [[],[],[],[],[]]callFunctionReactBrid...原创 2018-05-07 16:17:44 · 226 阅读 · 0 评论 -
Did not get valid calls back from JS:
Did not get valid calls back from JS: [[5,30,30,30,30,30,30,5,24,34,13],[13,0,0,1,0,1,1,3,6,3,2],[[],[16],[15],[18,1,1525750370914,false],[18],[19,1,1525750370915,false],[20,100,1525750370915,false],[...原创 2018-05-08 11:35:30 · 264 阅读 · 0 评论 -
Error:Failed to resolve: com.github.yalantis:ucrop:2.2.2-native
A problem occurred configuring project ':app'.> Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-image-crop-picker...原创 2018-06-12 14:31:58 · 6214 阅读 · 6 评论 -
The SDK Build Tools revision (23.0.1) is too low for project ':app'. Minimum required is 25.0.0
转载: https://blog.youkuaiyun.com/liugec/article/details/71353140报错内容: Error:The SDK Build Tools revision (23.0.3) is too low for project ‘:app’. Minimum required is 25.0.0报错原因: 报错原因是因为gradle 插件版本, 以及SDK bui...原创 2018-06-12 23:41:51 · 1347 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: Failed resolution of: Lcn/jiguang/api/SdkType;
06-13 08:51:08.773 25859-25859/com.yizhijie E/AndroidRuntime: FATAL EXCEPTION: main Process: com.yizhijie, PID: 25859 ...原创 2018-06-13 19:35:35 · 3735 阅读 · 3 评论 -
windows操作系统, 端口号被占用时
http://jingyan.baidu.com/article/3c48dd34491d47e10be358b8.html 1.查看所有的端口占用情况C:\>netstat -ano协议 本地地址 外部地址 状态 PIDTCP 127.0.0.1:1434 0.0.0.0:0 LISTENING 3236TCP 127.0.0.1:5679 0.0.0.0:0 LI...转载 2018-06-13 22:21:49 · 326 阅读 · 0 评论 -
Configuration with name 'default' not found.
* What went wrong:A problem occurred configuring project ':app'.> Could not resolve all dependencies for configuration ':app:_debugApk'. > Configuration with name 'default' not found.* Try:Run...原创 2018-06-14 13:24:30 · 533 阅读 · 0 评论 -
React-Native工程项目打包编译 发布流程详解
转载:https://www.aliyun.com/jiaocheng/35793.html摘要: 具体看一下Android和IOS两个平台是如何执行发布产品。 React-Native之Android平台发布两种方式: 方式一是借助于命令行, 方式二种是借助于Android Studio进行。步骤: 方式二: 借助Android Studio发布。a). 首先借助于And...转载 2018-06-28 20:03:11 · 5275 阅读 · 0 评论 -
React Native - 持久化存储(AsyncStorage)的使用详解 (值得学习的网站)
原文链接:http://www.hangge.com/blog/cache/detail_1567.html一,基本概念1,AsyncStorage介绍AsyncStorage 是一个简单的、异步的、持久化的 Key-Value 存储系统,它对于 App 来说是全局性的。它用来代替 LocalStorage。 由于它的操作是全局的,官方建议我们最好针对 AsyncStorage 进行...转载 2018-09-19 16:04:54 · 5850 阅读 · 0 评论 -
react-native之黄色警告Remote debugger is in a background tab which may cause apps to perform slowly. Fix
react-native之黄色警告Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab (or opening it in a separate window).百度了一圈也没找到问题,感觉有点摸不着头脑原来,只要把那个chro...原创 2018-05-07 15:11:55 · 4487 阅读 · 1 评论 -
将IDE-Android Stadio升级到3.0以后
https://tianshimanbu.com/bug-record/Could-not-find-method-google.htmlCould not find method google() for arguments [] on repository container.解决办法一、升级Android Stadio 3.0将IDE-Android Stadio升级到3.0以后,Gradl...转载 2018-04-21 09:15:10 · 681 阅读 · 0 评论 -
A problem occurred configuring project ':react-native-camera'. > The SDK Build Tools revision
A problem occurred configuring project ':react-native-camera'. > The SDK Build Tools revision (23.0.1) is too low for project ':react-native-camera'. Minimum required is 25.0.0在androidStoudio...原创 2018-04-20 19:34:05 · 2375 阅读 · 0 评论 -
ReactNative:The development server returned response error code: 500
转载 https://www.2cto.com/kf/201708/674121.htmlReactNative:The development server returned response error code: 500。在运行ReactNative项目的时候,手机上经常会出现这种错误,解决办法:在当前项目的路径下分别运行以下命令:?123npm uninstall babel-preset...转载 2018-04-23 09:52:14 · 3321 阅读 · 0 评论 -
Unable to resolve module `react-native/Libraries/vendor/emitter/EventEmitter`
Updated my project to RN 0.48.1 and React 16.0.0-alpha.12. The project compiles properly and but now getting red screen of death in the iOS Simulator - both from Xcode and with RN CLI - with the follo...原创 2018-04-23 11:26:19 · 2234 阅读 · 0 评论 -
react-native run-android Exception in thread “main” java.util.zip.ZipException: error in opening zip
https://stackoverflow.com/questions/40814686/react-native-run-android-exception-in-thread-main-java-util-zip-zipexceptionreact-native run-android Exception in thread “main” java.util.zip.ZipException:...转载 2018-04-19 17:21:56 · 1442 阅读 · 0 评论 -
undefined is not an object(evaluating 'ViewPropTypes.style')
说法一:转载 https://github.com/facebook/react-native/issues/14032for those that have same issue after install this package try this.in file node_modules/react-native-maps/lib/components/MapView.jsin line 6...转载 2018-04-23 23:42:37 · 1222 阅读 · 0 评论 -
build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V
> Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-keyevent'. > Failed to notify project evaluation listen...原创 2018-04-19 17:42:33 · 1358 阅读 · 0 评论 -
gradle的版本 随 Android Studio的版本
https://www.jianshu.com/p/148576ce44d3我们在打开项目时,如果studio出现了如下的问题Error:Unable to find method 'com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V'.Possible c...转载 2018-04-20 09:47:28 · 1241 阅读 · 0 评论 -
Could not find com.android.tools.build:gradle:3.0.1
https://www.2cto.com/kf/201712/708748.htmlCould not find com.android.tools.build:gradle:3.0.1更新gradle后运行应用,报错。解决办法:提示找不到gradle:3.0.1在顶层build.gradle 中,可以看到build.gradle的配置:?12345678910111213buildscript ...转载 2018-04-20 10:00:00 · 308 阅读 · 0 评论 -
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.> Could not find com.google.android.gms:play-services-vision:12.0.1.升级到Android Sutido 3.0后,跑测之前的Model的main()方法方法时报错:Error:...转载 2018-04-20 10:28:05 · 31835 阅读 · 2 评论 -
Android dependency 'com.android.support:support-v4' has different version for the compile (23.4.0) a
> Android dependency 'com.android.support:support-v4' has different version for the compile (23.4.0) and runtime (27.1.0) classpath. You should manually set the same version via DependencyResolutio...转载 2018-04-20 12:41:31 · 4473 阅读 · 0 评论 -
react 生命周期调用过程。
1.触发过程。原创 2018-10-05 21:15:04 · 320 阅读 · 0 评论