添加glide v4庫後,我無法生成啓用proguard的apk。 我已經添加了以下行proguard的規則添加Glide v4後出現Proguard錯誤
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.AppGlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
它顯示在構建下面的錯誤。
警告:com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool: 無法找到庫類android.graphics.Bitmap $配置基準場 'android.graphics.Bitmap $配置硬件'