Go ethereum: Gradle sync error

0 votes

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?

Oct 24, 2018 in Blockchain by digger
• 27,620 points
19 views

1 answer to this question.

0 votes

Try the below code :

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

instead of

 mavenCentral()
answered Oct 24, 2018 by Omkar
• 67,120 points

Related Questions In Blockchain

0 votes
1 answer

'ppa:ethereum' error while installing ethereum on ubuntu

First try: sudo apt-get install --reinstall ca-certificates If ...READ MORE

answered Jul 12, 2018 in Blockchain by slayer
• 29,050 points
138 views
0 votes
10 answers

How to solve gradle build failed error?

I migrated the project to a different ...READ MORE

answered Dec 7, 2018 in Blockchain by Rajat
4,943 views
0 votes
1 answer

Error in sending value to an Ethereum Smart Contract.

It is stated in Solidity 4.0 documentation ...READ MORE

answered Jul 23, 2018 in Blockchain by Perry
• 17,010 points
42 views
0 votes
1 answer
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
105 views
0 votes
1 answer
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6 in Blockchain by saeedi
• 120 points

edited Mar 6 by Omkar 233 views
0 votes
1 answer

Hyperledger Fabric: "No go in PATH" error.

The error is because the go path ...READ MORE

answered Jun 27, 2018 in Blockchain by Omkar
• 67,120 points
258 views
+1 vote
1 answer

Ethereum Error: authentication needed: password or unlock

First, make sure you have an account. web3.personal.listAccounts If ...READ MORE

answered Aug 8, 2018 in Blockchain by Omkar
• 67,120 points
390 views