Tôi gặp lỗi này:Facebook SDK phụ thuộc xung đột
On nhận cây phụ thuộc, tôi thấy rằng không có gì sai với drawables vector hoạt hình là nhưng sdk mới nhất facebook của có phiên bản trước của hỗ trợ-v4 tùy chỉnh chuyển hướng. Tôi đã thử loại trừ với lệnh loại trừ nhóm nhưng nó không hoạt động. Đây là cây phụ thuộc của tôi:
+--- com.facebook.android:facebook-android-sdk:[email protected]
| +--- com.android.support:support-v4:[email protected]
| | +--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | +--- com.android.support:support-media-compat:[email protected]
| | | +--- com.android.support:support-annotations:[email protected]
| | | \--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | +--- com.android.support:support-core-utils:[email protected]
| | | +--- com.android.support:support-annotations:[email protected]
| | | \--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | +--- com.android.support:support-core-ui:[email protected]
| | | +--- com.android.support:support-annotations:[email protected]
| | | \--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | \--- com.android.support:support-fragment:[email protected]
| | +--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | +--- com.android.support:support-core-ui:[email protected]
| | | +--- com.android.support:support-annotations:[email protected]
| | | \--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | \--- com.android.support:support-core-utils:[email protected]
| | +--- com.android.support:support-annotations:[email protected]
| | \--- com.android.support:support-compat:[email protected]
| | \--- com.android.support:support-annotations:[email protected]
| +--- com.android.support:appcompat-v7:[email protected]
| | +--- com.android.support:support-annotations:[email protected]
| | +--- com.android.support:support-v4:[email protected]
| | | +--- com.android.support:support-compat:[email protected]
| | | | \--- com.android.support:support-annotations:[email protected]
| | | +--- com.android.support:support-media-compat:[email protected]
| | | | +--- com.android.support:support-annotations:[email protected]
| | | | \--- com.android.support:support-compat:[email protected]
| | | | \--- com.android.support:support-annotations:[email protected]
| | | +--- com.android.support:support-core-utils:[email protected]
| | | | +--- com.android.support:support-annotations:[email protected]
| | | | \--- com.android.support:support-compat:[email protected]
| | | | \--- com.android.support:support-annotations:[email protected]
| | | +--- com.android.support:support-core-ui:[email protected]
| | | | +--- com.android.support:support-annotations:[email protected]
| | | | \--- com.android.support:support-compat:[email protected]
| | | | \--- com.android.support:support-annotations:[email protected]
| | | \--- com.android.support:support-fragment:[email protected]
| | | +--- com.android.support:support-compat:[email protected]
| | | | \--- com.android.support:support-annotations:[email protected]
| | | +--- com.android.support:support-core-ui:[email protected]
| | | | +--- com.android.support:support-annotations:[email protected]
| | | | \--- com.android.support:support-compat:[email protected]
| | | | \--- com.android.support:support-annotations:[email protected]
| | | \--- com.android.support:support-core-utils:[email protected]
| | | +--- com.android.support:support-annotations:[email protected]
| | | \--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | +--- com.android.support:support-vector-drawable:[email protected]
| | | +--- com.android.support:support-annotations:[email protected]
| | | \--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | \--- com.android.support:animated-vector-drawable:[email protected]
| | +--- com.android.support:support-vector-drawable:[email protected]
| | | +--- com.android.support:support-annotations:[email protected]
| | | \--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | \--- com.android.support:support-core-ui:[email protected]
| | +--- com.android.support:support-annotations:[email protected]
| | \--- com.android.support:support-compat:[email protected]
| | \--- com.android.support:support-annotations:[email protected]
| +--- com.android.support:cardview-v7:[email protected]
| | \--- com.android.support:support-annotations:[email protected]
| +--- com.android.support:customtabs:[email protected]
| | +--- com.android.support:support-compat:[email protected]
| | | \--- com.android.support:support-annotations:[email protected]
| | \--- com.android.support:support-annotations:[email protected]
| +--- com.parse.bolts:bolts-android:[email protected]
| | +--- com.parse.bolts:bolts-tasks:[email protected]
| | \--- com.parse.bolts:bolts-applinks:[email protected]
| | \--- com.parse.bolts:bolts-tasks:[email protected]
| \--- com.google.zxing:core:[email protected]
Tôi muốn sử dụng thư viện appcompat mới nhất như tôi muốn hỗ trợ Oreo. Ai đó có thể hướng dẫn tôi về điều này? Ngoài ra, không phải là lỗi của facebook này để sử dụng phụ thuộc cũ hơn cho các tab tùy chỉnh? Cảm ơn bạn rất nhiều vì đã dành thời gian và hỗ trợ cho vấn đề này.
Cảm ơn rất nhiều !! Nó đã làm việc. Nhưng cây phụ thuộc chỉ ra rằng chỉ có customtabs là 25.3.1. Tại sao facebook lại ngủ? Bất kỳ ý tưởng? –
imho, mã trên chỉ là một cách đơn giản để đảm bảo thư viện hỗ trợ xung đột không được bao gồm cho phiên bản facebook sdk 4.26.0. Bạn có thể thử loại trừ chỉ customtabs. Tôi xin lỗi, tôi thực sự không hiểu được lý do tại sao facebook lại ngủ? Bạn có thể xây dựng nó nhiều hơn? –
Tôi đã thử cho customtabs nó không hoạt động. Về việc ngủ facebook, chỉ là một trò đùa thôi. Tôi có nghĩa là tại sao họ đã không nâng cấp phụ thuộc trong sdk của họ. –