39499740
V2EX  ›  问与答

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

  •  
  •   39499740 · Apr 18, 2018 · 4027 views
    This topic created in 2972 days ago, the information mentioned may be changed or developed.

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   853 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 19:51 · PVG 03:51 · LAX 12:51 · JFK 15:51
    ♥ Do have faith in what you're doing.