【发布时间】:2020-06-21 14:47:59
【问题描述】:
我正在使用第三方库(cosmos 日历),它具有 android.support 依赖项,而我对所有项目都使用 androidx。这导致了冲突,并且在 gridLayout 依赖项上出现此错误:
AAPT: error: duplicate value for resource 'attr/orientation' with config ''.
我删除了 gridlayout 或 cosmos 日历依赖项,项目构建但无法同时使用这两个依赖项构建。我该如何解决这个冲突?
【问题讨论】:
-
关闭并重新导入您的项目。
-
这没有任何作用,仍然是同样的问题
-
可能会有所帮助,请检查一下。 stackoverflow.com/questions/53895569/…
标签: android android-support-library androidx grid-layout aapt