Could not get resource 'http://…firebase-measurement-connector-impl-17.0.5-javadoc.jar

前端 未结 3 437
小鲜肉
小鲜肉 2020-12-08 18:54

I got this error after updating library com.google.firebase:firebase-core:16.0.6 to version 16.0.7.

Could not get resource \'https://dl.google.         


        
3条回答
  •  失恋的感觉
    2020-12-08 19:05

    This also happened to me, I solve the problem by changing gradle/wrapper/gradle-wrapper.properties file in the following way:

    distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
    

    According to https://docs.gradle.org/current/userguide/gradle_wrapper.html use the -all distribution to enable your IDE to enable code-completion and being able to navigate to the Gradle source code. (as @maxf mentioned)

    distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
    

提交回复
热议问题