Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem configuring project with gradle:2.3 #15

Closed
arsimr16 opened this issue Dec 10, 2018 · 3 comments
Closed

Problem configuring project with gradle:2.3 #15

arsimr16 opened this issue Dec 10, 2018 · 3 comments

Comments

@arsimr16
Copy link

When I try to build my Android app, I'm getting the following error:

image

It seems like jcenter can't find any versions of gradle. When I add maven, gradle is found, but not the correct version.

    repositories {
        maven {
            url "https://maven.google.com"
        }
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.+'
    }
}

image

Changing the gradle version in the classpath to 3.1.4 fixed this issue for me. Did anyone else have this problem?

arsimr16 referenced this issue in grokkerinc/react-native-immersive Dec 10, 2018
* jcenter can't find gradle so I added maven to the repositories section
* gradle:2.3 does not seem to be available, but 3.1.4 works
@rogerkerse
Copy link

Same problem

@rogerkerse
Copy link

Created pull request for it #18

@ThatBean
Copy link
Contributor

@arsimr16 thanks for reporting this, and @rogerkerse @TechWithYou thanks for the pull request.

After some digging, the problem starts with:

Google request JCenter to remove several binaries from their repository (2018/12/10)
But some more repos were removed by mistake

check:

The build.gradle is updated as react-native-vector-icons/android/build.gradle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants