java.lang.NoClassDefFoundError retrofit2.Utils

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

    It's Gradle bulid configure issue i also got same issue Some times

    In Gradle your using

    compile 'com.google.android.gms:play-services:8.4.0'
    

    Enire Google Playservice Lib can you change into which are the lib's using in your project

    Example

    com.google.android.gms:play-services-gcm:8.4.0 
    com.google.android.gms:play-services-maps:8.4.0
    com.google.android.gms:play-services-auth:8.4.0
    

    Refer This URl https://developers.google.com/android/guides/setup#add_google_play_services_to_your_project

提交回复
热议问题