i can't build app when use ProGuard in Android Studio

Question!

I am using lasted version of Android Studio, and i have obfuscated my project by ProGuard in Android Studio.

edit content of Build.gradlesuch as this :

buildTypes {
    release {
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

but when start the build project, an error like that see error

warning Image : see warning

How can I fix this?



Answers

I had same issue,try to change minifyEnabled true to minifyEnabled false.

And just refer this enter link description here

By : Rashmi S


Simply add -dontwarn com.github.siyamed.shapeimageview to your proguard-rules.pro.

By : ikhsan


This video can help you solving your question :)
By: admin