Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Kangaroo Rewards
PLUS
Kangaroo Rewards
Courses Plus Student 5,699 Points

Vulnerability TrustManager in Google Play

I'm trying to publish an App on Google Play, but I'm getting an email with this error message: Vulnerability TrustManager, apps containing an unsafe implementation of TrustManager.

To properly handle SSL certificate validation, change your code in the checkServerTrusted method of your custom X509TrustManager interface to raise either CertificateException or IllegalArgumentException whenever the certificate presented by the server does not meet your expectations.

I'm using these libraries in my app: compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.squareup.retrofit2:retrofit:2.0.1' compile 'com.squareup.retrofit2:converter-gson:2.0.0' compile 'com.squareup.okhttp3:okhttp:3.3.1'

Could you give me a cable to solve it,

Thanks in advance

1 Answer

Kangaroo Rewards
PLUS
Kangaroo Rewards
Courses Plus Student 5,699 Points

I found the problem, it was the PayPal_MPL.jar who blocked the submission on Google Play. I removed this .jar and Google let me continue without any problem.

This link allows to solve this problem: https://github.com/paypal/sdk-packages/issues/72