ArthurHub/Android-Image-Cropper

Error when building with Proguard enabled

オープン

#238 opened on 2017/03/11

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)Java (1,368 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (6,415 個のスター)
PR merge metrics
 (30d に merged 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

コントリビューターガイド