Gradle使用之依賴樹

切換到要查看項目的目錄,執行命令gradlew :app:dependencies,查看依賴樹android 從上圖能夠看出紅色框中有開源庫以來的版本比當前的版本低,所以可使用exclude剔除舊版本庫,避免重複,也能夠瘦身apkapp compile ('com.jakewharton:butterknife:8.8.1'){         exclude module: 'support-a
相關文章
相關標籤/搜索