Android 我不知道';我不知道为什么我能';不要使用位图转换

Android 我不知道';我不知道为什么我能';不要使用位图转换,android,android-glide,Android,Android Glide,为了使用bitmapTransform,我添加了2个compile-in依赖项 如下面所示,glide和glide转换已成功添加 compile 'com.android.support:appcompat-v7:25.2.0' compile 'com.android.support.constraint:constraint-layout:1.0.1' compile 'com.android.volley:volley:1.0.0' compile 'com.google.code.gso

为了使用
bitmapTransform
,我添加了2个compile-in依赖项

如下面所示,glide和glide转换已成功添加

compile 'com.android.support:appcompat-v7:25.2.0'
compile 'com.android.support.constraint:constraint-layout:1.0.1'
compile 'com.android.volley:volley:1.0.0'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.android.support:design:25.2.0'
compile 'com.android.support:support-v4:25.2.0'
compile 'com.android.support:recyclerview-v7:25.2.0'
testCompile 'junit:junit:4.12'
compile 'com.github.bumptech.glide:glide:4.0.0'
compile 'jp.wasabeef:glide-transformations:2.0.2'
但是我不能在Glide.with(this).load(url)中使用
bitmapTransform
方法

上面没有显示位图转换方法。

我解决了这个问题

我将编译版本从glide:4.0.0修改为glide:3.7.0

然后,我可以使用bitmapTransform