项目集成支付宝后打包失败

来源:互联网 时间:2017-01-13

集成支付宝打包失败:Warning:com.alipay.Android.phone.mrpc.core.b: can't find referenced method 'org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int,android.NET.SSLSessionCache)' in library class android.Net.SSLCertificateSocketFactory报class android.net.SSLCertificateSocketFactory这个类里的方法找不到
在混淆文件中加上以下内容:-dontwarn android.net.**
-keep class android.net.SSLCertificateSocketFactory{*;}

相关阅读:
Top