I tried to add stickers to my app and some of my stickers works and some of them are getting this error
Asset file doesn't exist . (followed all the guidelines)
tried both webP photoshop plugin (unchecked save metadata) and android studio conversion but no luck. after spending lot of time with this error figured out way to fix this error by adding Gaussian blur in photoshop.(Some Stickers works with this trick)
but still getting this same error :-(
I'm using React Native library https://github.com/Pocket-titan/react-native-whatsapp-stickers-android
only works when merge both layers in PS (sample sticker and sticker that i created). OR replacing the sticker with sample sticker
Sorry for my bad english..
sticker that not works..
10_farm_cow.zip
Hey @IshanUdyoga,
after spending lot of time with this error figured out way to fix this error by adding Gaussian blur in photoshop.
This is weird, are you sure you haven't exported it differently? Gaussian Blur should not influence the health of your image at all.
Your export process should be:
.png ('Save As' -> PNG)Convert to WebPIf you followed these instructions and your image still throws an error, feel free to respond here :)
@MarvinJWendt
Thanks for the quick response :-)
I did your export process earlier but not worked
I tried editing sample sticker in photoshop and put it in my sticker app then that same error throws again.
Without editing sample sticker (just drag n drop sample sticker webP to photoshop and then exported to webP) error not throws to that sticker.
This is the error -

After upgrading fresco v 1.10.0 to v 1.11.0 error was changed -

Also this error shows after few second -

I dont know this is the right place to ask React Native questions :-( but no place to ask this kind of question..
thanks..
After Spending some time fixed this error completely !
Add this lines in Android/app/build.gradle
android {
aaptOptions {
noCompress "webp"
}
....
}
the compression of webp file during build causes problem with FileDescriptor in ContentProvider.
thanks..
Hey @IshanUdyoga,
Have you removed those lines?
Normally they should already be in there 馃
https://github.com/WhatsApp/stickers/blob/1a9f00222f96779e50b0269e58a9bb79b10221fa/Android/app/build.gradle#L4-L7
@MarvinJWendt nope that react native library forgot to add this line :-) thanks.
Most helpful comment
After Spending some time fixed this error completely !
Add this lines in Android/app/build.gradle
android { aaptOptions { noCompress "webp" } .... }the compression of webp file during build causes problem with FileDescriptor in ContentProvider.
thanks..