How to fix aar library values.xml issue

I am using Material Bottom Sheet from android.support.design and I am compiling it using ant command as a component is App Inventor Source but after component compilation It shows me some error

 C:\Users\PDRPEA~1\AppData\Local\Temp\2\1588857705470_0.22833718288130112-0\youngandroidproject\..\build\intermediates\res\merged\values\values.xml:3061: error: Error retrieving parent for item: No resource found that matches the given name 'CardView'.
     [java]
     [java] C:\Users\PDRPEA~1\AppData\Local\Temp\2\1588857705470_0.22833718288130112-0\youngandroidproject\..\build\intermediates\res\merged\values\values.xml:3063: error: Error: No resource found that matches the given name: attr 'cardBackgroundColor'.
     [java]
     [java] C:\Users\PDRPEA~1\AppData\Local\Temp\2\1588857705470_0.22833718288130112-0\youngandroidproject\..\build\intermediates\res\merged\values\values.xml:3062: error: Error: No resource found that matches the given name: attr 'cardElevation'.
     [java]
     [java] May 07, 2020 6:51:55 PM com.google.appinventor.buildserver.Compiler runAaptPackage
     [java] WARNING: YAIL compiler - AAPT execution failed.
     [java]     (new resource id mtrl_text_btn_text_color_selector from C:\Users\PDRPEA~1\AppData\Local\Temp\2\1588857705470_0.22833718288130112-0\youngandroidproject\..\build\intermediates\res\merged\color\mtrl_text_btn_text_color_selector.xml)
     [java]     (new resource id switch_thumb_material_dark from C:\Users\PDRPEA~1\AppData\Local\Temp\2\1588857705470_0.22833718288130112-0\youngandroidproject\..\build\intermediates\res\merged\color\switch_thumb_material_dark.xml)
     [java]     (new resource id switch_thumb_material_light from C:\Users\PDRPEA~1\AppData\Local\Temp\2\1588857705470_0.22833718288130112-0\youngandroidproject\..\build\intermediates\res\merged\color\switch_thumb_material_light.xml)

BUILD FAILED
H:\Hybride\appinventor-sources\appinventor\build.xml:21: The following error occurred while executing this line:
H:\Hybride\appinventor-sources\appinventor\buildserver\build.xml:189: Java returned: 1

Please help me to fix with problem.
Thanks.

You’re missing dependencies of the library. Given the errors, you likely need to pull in the card view library as well.

Thanks sir I will add and try to compile again.

I have added the cardview library and add the path in build.xml but It is not compiling again and giving the same error.