添加庫我想添加這個庫到我的應用程序:https://github.com/pucamafra/android-segmentedtab
我如何能在Android Studio中
我加入這個依賴性在的build.gradlecompile 'com.marlonmafra.android.widget:segmented-tab:1.1.0'
和的build.gradle再次添加該代碼
但是當點擊同步,不同步的項目,並告訴我這個錯誤:
Error:(125, 10) Failed to resolve: com.marlonmafra.android.widget:segmented-tab:1.1.0
Show in File
Show in Project Structure dialog
我怎樣才能解決這個問題?
檢查這已經回答http://stackoverflow.com/a/35369267/2784663 – YLS