今天在做微信登录的时候,导入微信的sdk,保报了个错误;

Error: unknown host ‘android.oa.com'.You may need to adjust the proxy setting in Gradle.

原来是gradle.wapper底下的http找不到

Error: unknown host ‘android.oa.com'.You may need to adjust the proxy setting in Gradle.


把这个distributionUrl换成自己项目的distributionUrl,然后粘贴过来,再编译下就可以了。

可以自己新建一个空项目,打开同样的文件,把distributionUrl赋值给报错的这个。。。

相关文章:

  • 2021-11-19
  • 2021-12-22
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2021-05-28
猜你喜欢
  • 2022-01-08
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2021-04-02
相关资源
相似解决方案