错误:找不到符号 BitmapTransformation/BitmapPool [英] error: cannot find symbol BitmapTransformation/BitmapPool

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

问题描述

我收到以下错误:

找不到符号 BitmapTransformation/BitmapPool

cannot find symbol BitmapTransformation/BitmapPool

我在网上找到了这段代码,想知道是否有任何方法可以编辑它以适应 androidx?

I found this code online and wonder if there is any way to edit it to fit in androidx?

代码:https://gist.github.com/David-Hackro/839ba14f220bb29a4eb0e

Code: https://gist.github.com/David-Hackro/839ba14f220bb513b4a2735c29a4eb0e

推荐答案

如果您查看导入,这些类来自某个 com.bumptech.glide 包,看起来像 这个

If you look at the imports, those classes are from some com.bumptech.glide package, which looks like this one

因此将其添加为您的应用程序中的依赖项(遵循他们的说明),您应该祝你好运

So add that as a dependency in your app (follow their instructions) and you should be good to go

这篇关于错误:找不到符号 BitmapTransformation/BitmapPool的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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