I have a problem with Retrofit on my emulator running Android 4.3 and my device is on Android 4.4.2 while the same code runs normally on another emulator with Android 7.1.1<
If you use android 9 (Pie) or android SDK above 28 and get the issue on over the api call through Retrofit.
Add this line to your manifest android:usesCleartextTraffic="true" Retrofit Issue
android:usesCleartextTraffic="true"