1

In the app's build.gradle file, I have included the maven central repository and added the dependency

apply plugin: 'com.android.application'

repositories
    {
        mavenCentral()
    }
dependencies {

compile 'org.ethereum:geth:1.8.7'

}

But the Gradle sync failed with this error

Failed to resolve:  org.ethereum:geth:1.8.7

How do I fix this?

Rambo
  • 93
  • 9

1 Answers1

0

Write below code :

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

instead

 mavenCentral()