ArthurHub/Android-Image-Cropper

Error when building with Proguard enabled

开放

#238 创建于 2017年3月11日

 (6 条评论) (0 个反应) (0 位负责人)Java (1,368 个派生)batch import
help wanted

仓库指标

星标
 (6,415 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Hello,

If Proguard is enabled, I have this error when I generate an APK :

[ERROR] [system.err] Warning: com.theartofdev.edmodo.cropper.CropImageActivity: can't find referenced field 'int cropImageView' in program class com.theartofdev.edmodo.cropper.R$id ... [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.

Can you tell me what is the problem?

Thank you

贡献者指南