我有此錯誤:的Facebook SDK依賴衝突
在越來越依賴關係樹,我發現有什麼不對的動畫矢量繪圖資源,但Facebook的最新SDK提供了支持-V4定製的先前版本標籤。我嘗試排除排除組命令,但它不工作。這裏是我的依賴關係樹:
+--- 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]
我想使用最新的程序兼容性庫,我想支持奧利奧。有人可以指導我嗎?另外,這不是Facebook的錯誤使用舊的依賴關係的自定義選項卡?非常感謝您在這個問題上的時間和協助。
非常感謝!有效。但依賴關係樹顯示只有customtabs是25.3.1。此外,爲什麼Facebook會睡覺?任何想法? –
imho,上面的代碼只是一個簡單的方法來確保衝突的支持庫不包括在Facebook的SDK版本4.26.0。您可以嘗試僅排除customtabs。對不起,我真的不明白'爲什麼Facebook會睡覺?'你能詳細說明嗎? –
我試過customtabs它沒有工作。關於臉書睡覺,只是一個笑話。我的意思是爲什麼他們沒有升級它們的sdk中的依賴關係。 –