DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.09k stars 1.47k forks source link

Not able make release build apk #948

Open vjha125 opened 1 year ago

vjha125 commented 1 year ago
mr-vikash-jha commented 1 year ago

please help. i'm facing this issue from this library

ranshine commented 1 year ago

I am facing same issue, have you got any solution ?

mr-vikash-jha commented 1 year ago

yes. i got it solution.

ranshine commented 1 year ago

I am able to run RN app in debug, but in release i am getting this issue. Can you please provide the solution

mr-vikash-jha commented 1 year ago

sure.

ranshine commented 1 year ago

@mr-vikash-jha I am waiting for your solution, please provide.

mr-vikash-jha commented 1 year ago

in android build.gradle add this:- excludeAppGlideModule = true after that install this version of the fast image:- "react-native-fast-image": "^8.5.11"

just let me know if it works or not.

ranshine commented 1 year ago

Thanks @mr-vikash-jha , but still i am getting same dex error

mr-vikash-jha commented 1 year ago

in android build.gradle add this:- excludeAppGlideModule = true after that install this version of the fast image:- "react-native-fast-image": "^8.5.11"

just let me know if it works or not.

this one works for me

Dev-Ahmed-Adnan commented 1 year ago

in android build.gradle add this:- excludeAppGlideModule = true after that install this version of the fast image:- "react-native-fast-image": "^8.5.11" just let me know if it works or not.

this one works for me

This worked for me too, I've added this in android/build.gradle: project.ext { excludeAppGlideModule = true }

mr-vikash-jha commented 1 year ago

Thanks

diegosoriarios commented 1 month ago

For me what help was to add this on my project.ext on android/build.gradle

project.ext {
    excludeAppGlideModule = true
    glideVersion = "4.9.0"
}