已经导入了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~~~