在gradle文件中使用:buildToolsVersion "22.0.1",targetSdkVersion 22。
buildToolsVersion "22.0.1"
targetSdkVersion 22
我发现有用的getResources().getColor(R.color.color_name)被弃用了。
getResources().getColor(R.color.color_name)
我应该用什么来代替呢?
https://stackoverflow.com/questions/31842983
相似问题