peer not authenticated: Error while building app in Android Studio

不羁的心 提交于 2019-12-06 00:01:29

After a long efforts I have identified a workaround for it.

Actually the problemetic maven url : https://maven.fabric.io/public/io/fabric/tools/gradle/maven-metadata.xml

was redirecting to bellow url : https://s3.amazonaws.com/fabric-artifacts/public/io/fabric/tools/gradle/maven-metadata.xml

Somehow in Android studio, this redirection was failing. So in app build.gradle file, I replaced the the maven url. from

  maven { url 'https://maven.fabric.io/public' }

to

 maven { url 'http://s3.amazonaws.com/fabric-artifacts/public' }

Which solved my problem.

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