java.lang.NoClassDefFoundError retrofit2.Utils

后端 未结 11 1544
梦毁少年i
梦毁少年i 2020-12-30 10:40

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?

11条回答
  •  不知归路
    2020-12-30 11:23

    With these many library saddles up, it must have exceded the infamous 64k method limit, you need to enable your app for multidex. Here is how you do it. https://developer.android.com/tools/building/multidex.html

提交回复
热议问题