我将其添加到我的 build.gradle
文件中。
build.gradle
compile 'com.squareup.retrofit2:retrofit:2.0.0-beta4'
compile 'com.squareup.retrofit2:converter-gson:2.0.0-beta4
但是retrofit2的GsonConverter仍然没有解决。
最佳答案
为什么不使用稳定版本?
compile 'com.squareup.retrofit2:retrofit:2.0.0'
compile 'com.squareup.retrofit2:converter-gson:2.0.0'
关于java - GsonConverter 未解决,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36353780/