Resource not found error for vector drawable in android 5 and 5.1

174 Views Asked by At

Hi, I am using binding adapter methods to pass 1 imageUrl and 1 placeHolder drawable in image view like this. enter image description here and my binding adapter method is like this:

enter image description here

and here is my vector drawable:

enter image description here

it works perfectly fine for android 10 API level 30, and crashing for android 21 and 22 (as far I have tested ) giving resource not found error error:

enter image description here

Please help

0

There are 0 best solutions below