Unable to resolve host : No address associated with hostname
I made a simple weather widget that calls the API with RetroFit. It works well on emulators and my Samsung S22 Ultra, except for my S24 Ultra which keeps getting the error.
Unable to resolve host : No address associated with hostname
I made a simple weather widget that calls the API with RetroFit. It works well on emulators and my Samsung S22 Ultra, except for my S24 Ultra which keeps getting the error.
Unable to resolve host : No address associated with hostname
I made a simple weather widget that calls the API with RetroFit. It works well on emulators and my Samsung S22 Ultra, except for my S24 Ultra which keeps getting the error.
Retrofit java.net.ConnectException: Failed to connect to
I faced a problem. Retrofit shows me java.net.ConnectException: Failed to connect to /10.122.3.25:7068.
How to get the URL endpoint and the GET/POST method when an Exception occurs?
I use a suspend function to call the API as shown in the code below. How can I get the URL endpoint and the GET/POST method when an Exception occurs?
Retrofit API response too slow in kotlin
I am using retrofit to fetch data from an API. It is taking so long around 1000ms but when I checked API response time on Postman it is 20ms.
Get data from an API in kotlin using Retrofit
I am using retrofit to fetch data from an API. It is taking so long around 1000ms but when I checked API response time on Postman it is 20ms.
OkHttpClient implementation security advice
I’m having issues getting my kotlin api 24 app to connect to my api endpoint. The issue is related to ssl trusting. I’ve already tried adding the certificate to jdk trust store, and adding it to res/raw and manipulating the xml file, but to no avail. I asked ai to write a custom trust manager. The issue is resolved but I can’t help but think this code will probably create security issues later on. Is this implementation ok? What can I do to improve it?
Retrofit data sending
It’s my first time trying to fetch data from the server in Kotlin using Retrofit so I’m sorry if the question sounds dumb to you.
Retrofit showing null values in imagepath
I am trying to display an image from an api but the gson response of retrofit shows “null” in place of image path.