39499740
V2EX  ›  问与答

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

By 39499740 at 2018 年 4 月 18 日 · 4241 次点击

为了用高德地图,新建了一个 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

目前尚无回复
© 2026 V2EX · 23ms · 3.9.8.5