V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
39499740
V2EX  ›  问与答

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

  •  
  •   39499740 · 2018-04-18 17:12:57 +08:00 · 3116 次点击
    这是一个创建于 2192 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2722 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:23 · PVG 08:23 · LAX 17:23 · JFK 20:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.