score:3

Accepted answer

Yeah, i found a working solution but not sure whether it is a good one.

Instead of bintray service i have used the following in android -> build.gradle

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

        google()
        jcenter()
        maven { url 'https://www.jitpack.io' }
        maven { url 'http://dl.bintray.com/lukaville/maven' }
    }
}

I have replaced the bintray to https://repo1.maven.org/maven2 like below

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

        google()
        jcenter()
        maven { url 'https://www.jitpack.io' }
        maven { url 'https://repo1.maven.org/maven2' }
    }
}

When i build the application the build was successful.

score:0

Just disconnect from your internet and build your project, once the build is complete and the app launches you can connect back.

score:5

Bintray service is down and the only way to fix this is to migrate to React Native 0.65, where this repo is no longer used.


Related Query

More Query from same tag