qhutch / ElevationImageView

Imageview with elevation shadow
396 stars 46 forks source link

Crash with fresco v1.8.1 #1

Closed skydoves closed 6 years ago

skydoves commented 6 years ago

It makes crash with fresco version 1.8.1.

2018-03-19 3 38 00

and fresco can not load .so file, it makes crash.

qhutch commented 6 years ago

Hi, Did you add the renderscript part in your build.gralde ? If so, can you try without my library but with the renderscript lines to see if the problem comes from the renderscript version

skydoves commented 6 years ago

I solved the issue by adding below options on build.gradle

packagingOptions {
        exclude '/lib/mips64/**'
        exclude '/lib/arm64-v8a/**'
        exclude '/lib/x86_64/**'
    }

If not, it will crash with fresco over v1.8.1 regardless renderScript. Thank you!