Failed to resolve: com.android.support.constraint:constraint-layout

AS  build失敗, 解決辦法: File> settings> Appearance & Behavior > System Settings > Android SDK 選擇SDK Tools 選中Support Repository下的兩項: Constraintlayout for Android Solver forConstraintLayout 如下圖所示: 重啓AS 即可解決!
相關文章
相關標籤/搜索