标签:
解决方法:
这样的写法报错,
// animCard.setBackgroundResource(R.anim.multi_finger_animation);
animCard.setImageResource(R.anim.multi_idcard_animation);
解决办法:
在build.gradle文件加入下面的代码
lintOptions{
disable "ResourceType"
}
Android studio 报错:Error:Error: Expected resource of type drawable [ResourceType]
标签:
原文地址:http://www.cnblogs.com/lingweidong11-2/p/5638189.html