I am not able to use RestApi in android application
Clash Royale CLAN TAG #URR8PPP I am not able to use RestApi in android application Here is my RestApi get call result RestApi An in my android application i am using the retrofit library to call this api to show items in my android application, here is the api call in android package com.aditmsolutions.www.foodie; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; public interface Api { String BASE_URL = "https://10.0.2.2:51087/api/"; @GET("items") Call<List<Item>> getItems(); } When I run my app it gives this error message "HandShake failed" error Please help And here is logcat view And her is the code to getItems private void getItems() { Retrofit retrofit = new Retrofit.Builder() .baseUrl(Api.BASE_URL) .addConverterFactory(GsonConverterFactory.create()) //Here we are using the GsonConverterFactory to directly convert json data to object .build(); Api api = ret...