2016-01-21 9 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的依赖项。