本文介绍了进口凌空库的Andr​​oid同行时,未通过身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Andr​​oid工作室一直抱怨对未通过身份验证 - 尽管我已经适当地包括在排球库。它开始真正的错误我,我下面有一些截图:

My Android Studio keeps complaining that the peer is not authenticated - even though I have included the Volley libraries properly. It is starting to really bug me, and I have some screenshots below:

请参阅我甚至增加它

推荐答案

下面放code在你的build.gradle

put below code in your build.gradle

repositories {
jcenter {
    url "http://jcenter.bintray.com/"
}
maven  {
    url "http://repo1.maven.org/maven2"
}
}

如果您的请求通过防火墙,这可能与HTTPS URL的问题。

It may have problem with https url if your request goes through firewall.

这篇关于进口凌空库的Andr​​oid同行时,未通过身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-16 09:26