Home Cannot resolve method 'loadTrustMaterial'
Reply: 0

Cannot resolve method 'loadTrustMaterial'

user540 Published in March 19, 2018, 4:33 pm

I am using Android studio (in Linux) to make a project and in which I had to write code by which I can accept all the certificates. But the problem I am facing while using TrustSelfSignedStrategy is that when I pass this through builder.loadTrustMaterial, it shows something like Cannot resolve method 'loadTrustMaterial'(null,org.apache.http.conn.TrustSelfSignedStrategy).
A screenshot has been attached. However, the same code is working in Eclipse with the same library.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.394492 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO