我下载了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) 在出现此问题之前,我无法更改我的代码。但是,它是在我构建项目时发生的。我无法解决和理解它是什么?请问你能帮帮我吗?我使用 Android Studio 3.2.1
Output:
C:\Users\Lenovo\AndroidStudioProjects\Paintmet\app\src\main\res\drawable-
v24\ic_launcher_foreground.xml:7: error: '1' is incompatible with attribute
textSize (attr) dimension.
v21\ic_launcher_background.xml:10: error: '0.8' is incompatible with
attribute textSize (attr) dimension.
...
Run Code Online (Sandbox Code Playgroud)