I am using a third party library ( cosmos calendar) and it have android.support dependency while i am using androidx for all my project .this caused a conflict, and this error on the gridLayout dependecy :
AAPT: error: duplicate value for resource 'attr/orientation' with config ''.
i remove gridlayout or the cosmos calendar dependency ,the project builds but can't build using both dependencies. how can i workaround this conflict ?