ArthurHub/Android-Image-Cropper

Error when building with Proguard enabled

Open

#238 opened on Mar 11, 2017

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Java (1,342 forks)batch import
help wanted

Repository metrics

Stars
 (6,356 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide