ReactNative 和 JavaScript 版本号不一致怎么解

2018-04-18 17:12:57 +08:00
 39499740

为了用高德地图,新建了一个 0.52 的版本,之前用的都是 0.55 的,结果运行的时候就跑不起来了…… 请问这时候应该怎么破?

console.error: "React Native version mismatch.

JavaScript version: 0.55.2 Native version: 0.52.3

Make sure that you have rebuilt the native code. If the problem persists try clearing the Watchman and packager caches with watchman watch-del-all && react-native start --reset-cache."

checkVersions index.bundle?platform=ios&dev=true&minify=false:16701:20 <unknown> index.bundle?platform=ios&dev=true&minify=false:15072:40 loadModuleImplementation index.bundle?platform=ios&dev=true&minify=false:159:14 guardedLoadModule index.bundle?platform=ios&dev=true&minify=false:84:47 global code index.bundle?platform=ios&dev=true&minify=false:77649:8

3126 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/447876

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX