google play上架警告信息,项目中webview onReceivedSslError重写,最后发现还是出现警告,最终发现在第三方sdk中也有改方法没有处理,删除不必要的sdk,再上传终于解决了
@Override
public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
if(null != handler){
handler.proceed();
}
}
在项目根目录下,输入如下命令,搜索项目中的webview的该方法:
find . -name '*.jar' -exec zipgrep -i onreceivedsslerror {} \;
输出如下:
com/bytedance/sdk/openadsdk/core/widget/webview/c.class:Binary file (standard input) matches
classes.dex:Binary file (standard input) matches
classes.dex:Binary file (standard input) matches
这时就可以定位找到对应的类
Good luck!