I am using Android Studio 2.3(Latest). Till yesterday it was all good and working, today emulator is not connecting to the data network. I couldn\'t find any solution wo
if its an android project, u can change the baseUrl to 10.0.2.2, note this is only applicable from android emulator, will not work on phone
e.g Api endpoint will now look like this: val baseUri : String = "http://10.0.2.2/restapi/"
val loginEndpoint = "${baseUri}login"