• react-native React Native version mismatch


    android/app/build.gradle     file:

    dependencies {
        compile fileTree(dir: "libs", include: ["*.jar"])
        compile "com.android.support:appcompat-v7:23.0.1"
        compile "com.facebook.react:react-native:+"  // From node_modules
    }

    changed to this:
    dependencies {
        compile fileTree(dir: "libs", include: ["*.jar"])
        compile "com.android.support:appcompat-v7:23.0.1"
        compile ("com.facebook.react:react-native:0.52.2") { force = true } // From node_modules
    }

    Good,it is working!
    Answer is from:
    https://github.com/facebook/react-native/issues/19259
     
  • 相关阅读:
    Minimum Path Sum
    Unique Paths II
    Unique Paths
    Rotate List
    Permutation Sequence
    Merge Intervals
    Jump Game
    Group Anagrams
    Combination Sum II
    评分
  • 原文地址:https://www.cnblogs.com/yang-shun/p/9045899.html
Copyright © 2020-2023  润新知