错误:在4.7.1中找不到符号方法crossFade() [英] error: cannot find symbol method crossFade() in 4.7.1

查看:368
本文介绍了错误:在4.7.1中找不到符号方法crossFade()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在任何人重复之前.我之前在glide v3.7.0中使用以下代码.现在,当我将其更新为4.7.1时,它显示了错误:找不到符号方法crossFade().

Before anyone duplicate it. I was using the below code before in v3.7.0 of glide. Now when I have updated it to 4.7.1 it is showing the error: cannot find symbol method crossFade().

我在不同的地方搜索过,但是无法正常工作.

I have searched in different places but could not get the code work.

Glide.with(this)
                    .load(uriProfileImage)
                    .crossFade()
                    .bitmapTransform(new CircleTransform(EditProfile.this))
                    .diskCacheStrategy(DiskCacheStrategy.ALL)
                    .into(changeImage);

推荐答案

我遇到了同样的问题,请使用旧版本解决该问题. 实施"com.github.bumptech.glide:glide:3.7.0" 比实施"com.github.bumptech.glide:glide:4.9.0"(最新版本)

I had the same issue, use old version solve the problem. implementation 'com.github.bumptech.glide:glide:3.7.0' than implementation 'com.github.bumptech.glide:glide:4.9.0' which is the last version

这篇关于错误:在4.7.1中找不到符号方法crossFade()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆