Android Plugin for Gradle 3.0.0 : Could not find com.google.http-client:google-http-client-parent:1.24.1

后端 未结 9 687
情歌与酒
情歌与酒 2021-01-17 11:43

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/stu

9条回答
  •  有刺的猬
    2021-01-17 12:24

    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!

提交回复
热议问题