2016-01-21 10 views
0

我們正在嘗試導入android-pickphotos項目(https://github.com/crosswall/Android-PickPhotos)以使用照片選取器,但我們遇到了一些麻煩。我們還沒有找到gradle這個模塊的任何地方,並試圖從我們面臨以下錯誤目錄導入模塊時:導入Android pickphotos

Error:(29, 0) Cannot get property 'appcompat' on extra properties extension as it does not exist. 

,我們怎樣才能以進口和使用該庫做什麼?是否還有其他類似的庫可以通過gradle的模塊導入,並允許一些顏色自定義?

在此先感謝。

+0

得到了同樣的問題 - 你有沒有找到解決辦法? – Phil

回答

0

How can we do in order to import and use that library?

克隆存儲庫並將其添加爲模塊依賴項,或將庫包複製到您的項目中。

Is there any other similar library that can be imported through the gradle's module and that allows some color customizations?

沒有提到要在存儲庫中的Readme.md中添加的依賴關係。作者不通過jcenter()mavencentral()發表。只有在通過這些或其他此類分銷渠道進行分銷時,才能將該庫添加爲項目的build.gradle的依賴項。