I\'m using Retrofit to handle the Serverside Data from Mobile. After Implementing retrofit, I am Getting the below Exception.
What am I doing wrong?
I was facing this error below lollipop devices.
I was using multiDexEnabled true.
After adding this code to the class extending Application class my issue solved.
@Override
protected void attachBaseContext(Context context) {
super.attachBaseContext(context);
MultiDex.install(this);
}
reference: https://stackoverflow.com/a/39968486/4777524