-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lorg/apache/http/conn/ssl/AllowAllHostnameVerifier issue #417
Comments
Here is a possible solution. Please let me know if that helps you. Thanks! |
I'm having the same issue. Can someone please help? Here are my gradle dependencies, maybe something is conflicting?:
|
Hello @ivanchaukn, What is the error you are receiving? Thanks! With Best Regards, Elmer |
Email from = new Email("**@.com");
I got below exceptions. Some could help me... eb 04, 2019 7:08:58 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging Feb 04, 2019 7:08:59 PM org.apache.cxf.phase.PhaseInterceptorChain unwind Feb 04, 2019 7:08:59 PM org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver onMessage Please help me.. |
java.lang.NoSuchFieldError: No static field INSTANCE of type Lorg/apache/http/conn/ssl/AllowAllHostnameVerifier; in class Lorg/apache/http/conn/ssl/AllowAllHostnameVerifier; or its superclasses (declaration of 'org.apache.http.conn.ssl.AllowAllHostnameVerifier' appears in /system/framework/ext.jar) please help me.. |
Hello @votivemobileshivani, Could you please open a new issue and provide the following information:
Thank you! With Best Regards, Elmer |
Hi @thinkingserious , I also experience the same issue as @votivemobileshivani .
I also tried to install using jar in libs, still producing similar error.
|
Hi @thinkingserious , I also experience the same issue as @martintjandra and if I update httpclient version then I'm having duplicate value error and code is not processed. I have almost tried everything still i'm unable to use your api. Solution provided below is not helpful. It gives duplicate class error/ |
The issue still exists:
It happens at Sendgrid initialization:
Code from build.gradle:
|
Any solution on this issue |
At a high-level, what the usecase for needing to install this on AndroidOS? Generally, it's discouraged from using these repos on a client since it would require the client to have proper SendGrid auth. |
using this: compile 'com.sendgrid:sendgrid-java:4.1.2'
Sdk :23
Caused by: java.lang.NoSuchFieldError: No static field INSTANCE of type Lorg/apache/http/conn/ssl/AllowAllHostnameVerifier; in class Lorg/apache/http/conn/ssl/AllowAllHostnameVerifier; or its superclasses (declaration of 'org.apache.http.conn.ssl.AllowAllHostnameVerifier' appears in /system/framework/framework.jar:classes2.dex)
The text was updated successfully, but these errors were encountered: