0
此错误时Android Studio中找不到后台XML资源中可绘制文件夹
Error:(17, 29) No resource found that matches the given name (at 'background' with value '@drawable/shape_empty_big'
这里我的XML型文件
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<stroke android:width="1dp"
android:color="#FFFFFF"/>
<corners
android:bottomLeftRadius="12dp"
android:bottomRightRadius="12dp"
android:topLeftRadius="12dp"
android:topRightRadius="12dp" />
</shape>
这是我如何使用背景我button
android:background="@drawable/shape_empty_big"
这里是我的绘图目录图片
THX的帮助,我很欣赏
尝试清洗和重建项目.. –
使名为shape_empty_big –
确保你的XML谢谢你这么多古鲁普拉萨德。清洁和重建解决了我的问题。祝Guruprasad和Joe愉快 –