Replies: 4 comments
-
@bringert Thanks for trying simple-openai. Using Meanwhile, I'm going to move your issue to the Discussion section. |
Beta Was this translation helpful? Give feedback.
-
we need okhttp in android ,okhttp is better than httpclient |
Beta Was this translation helpful? Give feedback.
-
@bringert, @allentown521 |
Beta Was this translation helpful? Give feedback.
-
I was able to verify that the latest version works successfully in Android |
Beta Was this translation helpful? Give feedback.
-
simple-openai depends on java.net.http.HttpClient which doesn't exist on Android. This causes any attempt to use the library on Android to fail with:
java.lang.ClassNotFoundException: Didn't find class "java.net.http.HttpClient"
Perhaps support could be added for using okhttp instead of java.net.http.HttpClient?
Beta Was this translation helpful? Give feedback.
All reactions