Android Gradle7.0+适配之旅

2023-09-04  本文已影响0人  晖仔Milo

1、错误

Using insecure protocols with repositories, without explicit opt-in, has been deprecated. This is scheduled to be removed in Gradle 7.0....

原因 - maven内url需要使用https,如果是http,则需要增加allowInsecureProtocol=true
如图


image.png
上一篇 下一篇

猜你喜欢

热点阅读