Skip to content Skip to sidebar Skip to footer

Android Plugin For Gradle 3.0.0 : Could Not Find Com.google.http-client:google-http-client-parent:1.24.1

I had to migrate my android project to new version of Android Studio and Android pluging for Gradle. I followed all instructions at https://developer.android.com/studio/build/gradl

Solution 1:

As the com.google.http-client:google-http-client-parent:1.24.1 has been removed from the maven central repository, it started throwing the error.

In such case, whatever the jars using this reference, can be downgraded to point the older version of google-http-client-parent. That could solve the problem for now.

In your case, com.google.appengine.tools:appengine-gcs-client:0.4.4 is using the reference of com.google.http-client:google-http-client-parent:1.24.1

Try downgrading it to 0.4 that should solve the problem.

Hope this helps!

Solution 2:

Solution 3:

maintainer for com.google.http-client:google-http-client-parent here. During a release yesterday, a pom.xml was somehow released. All other artifacts seem fine AFAICT minus this one pom. Sincere apologies for the hassle.

We have pushed a fix to this problem (manually release the missing pom.xml). Please try now and let me know if 1.24.1 does not work. We generally track issues at https://github.com/google/google-http-java-client/issues.

Solution 4:

some one forgot to add 1.24.1 in repository so that while building the project gradle can download that, we should wait till google update the same.

Solution 5:

I just had a similar problem, to solve it I googled and found out people suggesting to add 'google()' Gradle could not find dependency com.google.android.gms:play-services, but probably you have already done it since you followed the instructions.

In my case it wasnt enough, I noticed that i was using something that required a higher SdKVersion, so i just had to increase it to the right minSdkVersion.

Post a Comment for "Android Plugin For Gradle 3.0.0 : Could Not Find Com.google.http-client:google-http-client-parent:1.24.1"