ArthurHub/Android-Image-Cropper

Error when building with Proguard enabled

Aperta

#238 aperta il 11 mar 2017

 (6 commenti) (0 reazioni) (0 assegnatari)Java (1368 fork)batch import
help wanted

Metriche repository

Star
 (6415 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor