我正在使用
Glide和GlidePalette
当我添加GlidePalette依赖时,它给了我以下错误
错误:无法解决:com.github.bumptech.glide:glide:4.0.0-SNAPSHOT
但是我通过将这些行添加到存储库中的gradle来解决它
directives: [MyForm, MyDropdown, MyDate]
现在我无法访问 centerCrop()
链接到代码截图:http://s33.postimg.org/u036zjuj3/Capture.png
我添加的依赖项是
的
jcenter()
if (project.hasProperty('local.repo')) {
maven { name 'glide-local'; url project.property('local.repo') }
}
maven { name 'glide-snapshot'; url 'http://oss.sonatype.org/content/repositories/snapshots' }
flatDir name: 'libs', dirs: 'libs'
的
请帮帮我