Android studio使用support-v7包出错,求助啊!!!

已经导入了v7包,但是一用里面的东西就出错!导入了v7包
我在代码里想用AlertDialog,代码没提示错误,可以运行,代码但是只要一调用这个函数就出错,错误提示如下:
android.content.res.Resources$NotFoundException:
File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020052. If the resource you are trying to use is a vector resource, you may be referencing it in an unsupported way. See AppCompatDelegate.setCompatVectorFromResourcesEnabled() for more info.
指示出错的代码行是

AlertDialog exitDialog = new AlertDialog.Builder(MainActivity.this).create();
求助啊,困扰好几天了,是android studio的v7包出错了吗?Help mememememe~~~

可能是你的exitDialog的背景有问题,drawable文件名没有改变,但是drawable文件替换了,导致R文件中的地址错乱。