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

烂漫一生 提交于 2019-11-28 06:10:30
Programmer

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

I fixed it by upgrading the Gradle distribution to 5.x. Go to gradle-wrapper.properties and update :

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

try to provide it with the dependency it demands; the repository is mavenCentral(), not google():

// https://mvnrepository.com/artifact/com.google.firebase/firebase-measurement-connector-impl
implementation "com.google.firebase:firebase-measurement-connector-impl:17.0.5"

when looking closely, it's only the javadoc package which has no content, which has no effect on the jar/aar package, except that the documentation is missing.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!