ArthurHub/Android-Image-Cropper

Error when building with Proguard enabled

Ouverte

#238 ouverte le 11 mars 2017

 (6 commentaires) (0 réaction) (0 personne assignée)Java (1 368 forks)batch import
help wanted

Métriques du dépôt

Stars
 (6 415 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur