Kureev / react-native-blur

React Native Blur component
MIT License
3.76k stars 556 forks source link

[Android]automatically import react-native 0.20.1 #247

Open shuaifei opened 6 years ago

shuaifei commented 6 years ago

my react-native version is 0.48.3 but when I compile react-native-blur,react-native have tow version 0.48.3 and 0.20.1. _20171120142049 how to resolve it

btoueg commented 6 years ago

I think you need to add

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            url "https://maven.google.com"
        }
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

to your root build.gradle