A default HttpClient implementation should be added to build.gradle, or there will be an issue A request was made to load the default HttpClient provider but one could not be found on the classpath. If you are using a dependency manager, consider including a dependency on azure-core-http-okhttp or azure-core-http-httpurlconnection. Depending on your existing dependencies, you have the choice of OkHttp or HttpUrlConnection implementations. Additionally, refer to https://aka.ms/azsdk/java/docs/custom-httpclient to learn about writing your own implementation.
Purpose
Make the kotlin demo run successfully.
Does this introduce a breaking change?
[ ] Yes
[x] No
Pull Request Type
What kind of change does this Pull Request introduce?
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
How to Test
Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
Test the code
What to Check
Verify that the following are valid
Run the app, fill in the forms in settings (endpoint and API key), save, liveness, start, then you should see front camera.
A default HttpClient implementation should be added to build.gradle, or there will be an issue
A request was made to load the default HttpClient provider but one could not be found on the classpath. If you are using a dependency manager, consider including a dependency on azure-core-http-okhttp or azure-core-http-httpurlconnection. Depending on your existing dependencies, you have the choice of OkHttp or HttpUrlConnection implementations. Additionally, refer to https://aka.ms/azsdk/java/docs/custom-httpclient to learn about writing your own implementation.
Purpose
Make the kotlin demo run successfully.
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
What to Check
Verify that the following are valid