目录

AndroidStudio集成支付宝支付,混淆打包报错

报错提示

  • Warning: com.alipay.android.phone.mrpc.core.AndroidHttpClient: can’t find referenced method ‘org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int,android.net.SSLSessionCache)’ in library class android.net.SSLCertificateSocketFactory

解决方法

  • 在proguard-project.txt 添加一句

        -dontwarn android.net.SSLCertificateSocketFactory