gpt4 book ai didi

android - 如何解决 "Google Play will block publishing of any new apps or updates that use an unsafe implementation of HostnameVerifier"?

转载 作者:行者123 更新时间:2023-12-04 22:41:31 25 4
gpt4 key购买 nike

Beginning March 1, 2017, Google Play will block publishing of any new apps or updates that use an unsafe implementation of HostnameVerifier. Your published APK version will remain unaffected, however any updates to the app will be blocked unless you address this vulnerability.

Action required

To properly handle hostname verification, change the verify method in your custom HostnameVerifier interface to return false whenever the hostname of the server does not meet your expectations.



这是我从 Google Play 商店收到的关于我的一个应用程序的消息。我们正在使用 Apache 库进行一些 Web 服务调用。

如何纠正这个问题?

最佳答案

分支并切换到 OkHttp。你有一个漫长的夜晚。

关于android - 如何解决 "Google Play will block publishing of any new apps or updates that use an unsafe implementation of HostnameVerifier"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42087342/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com