java.lang.NoClassDefFoundError retrofit2.Utils

后端 未结 11 1542
梦毁少年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:37

    Try using the same lib version for base retrofit lib and the converters.

    compile 'com.squareup.retrofit2:retrofit:2.0.2'
    compile 'com.squareup.retrofit2:converter-scalars:2.0.2'
    compile 'com.squareup.retrofit2:converter-gson:2.0.2'
    

提交回复
热议问题