ArthurHub/Android-Image-Cropper

Error when building with Proguard enabled

Open

#238 opened on 2017年3月11日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)Java (6,356 stars) (1,342 forks)batch import
help wanted

説明

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

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