You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
I'm trying to use this library for Android development. However, when using it together with grpc-okhttp I get the following error when trying to upload media bytes: com.google.api.gax.rpc.ApiException: 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!classes4.dex)
My dependencies :
api 'com.google.photos.library:google-photos-library-client:1.7.2'
api 'io.grpc:grpc-okhttp:1.50.2'
I'm trying to use this library for Android development. However, when using it together with grpc-okhttp I get the following error when trying to upload media bytes:
com.google.api.gax.rpc.ApiException: 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!classes4.dex)My dependencies :
api 'com.google.photos.library:google-photos-library-client:1.7.2'
api 'io.grpc:grpc-okhttp:1.50.2'