hik*_*nil 2 java android retrofit
我下载了retrofit:2.0.0-beta2.我添加到build.gradle文件就像compile('com.squareup.retrofit:retrofit:2.0.0-beta2')我可以导入改进类期望RestAdapter.
我怎么解决这个问题?
import retrofit.Callback;
import retrofit.Response;
import retrofit.Retrofit;
Run Code Online (Sandbox Code Playgroud)
我不能
import retrofit.RestAdapter;
Run Code Online (Sandbox Code Playgroud)
为什么不使用稳定版本的改造?
compile 'com.squareup.retrofit:retrofit:1.9.0'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
779 次 |
| 最近记录: |