Reputation: 3252
So I'm busy building my own WhatsApp Stickers Pack for WhatsApp using their tutorial on the WhatsApp Website, but I'm getting this error when trying to add the stickers to WhatsApp: "There's a problem with this sticker pack and it can't be added to WhatsApp".
Here is the link to the WhatsApp guide: https://faq.whatsapp.com/en/26000226/?category=5245251
What could be possible problems with it? What could cause this not to work?
Upvotes: 1
Views: 22889
Reputation: 35
try adding aaptOptions {noCompress "webp"}
to build.gradle file under android
tag and add android:readPermission="com.whatsapp.sticker.READ"
to provider manifest then clear cache and data and rebuild
Upvotes: 0
Reputation: 4954
click OK button in this dialog and You will be prompt with another dialog describing an actual reason behind not adding the sticker pack to the WhatsApp.
Basically, from my understanding, it is a naming issue in one of the image file of this sticker packs. Only use small letters, underscore(_) and numbers in the file name. And always start the file name by small letter only.
Make sure you read the README file for Stickers app project. Follow this file, and You will not get this error anymore. Happy coding :)
Upvotes: 4
Reputation: 44
Firstly you need to check your logcat for exceptions that it generates & post it here then only anybody would be able to answer this question properly.
According to my experience there can be following reasons :-
1)Your tray icon is not of specified size which is must. 2)Your images are of varying sizes. 3)Check your id matches with assets folder's name.
here I am providing a link to app where you can get some idea about the implementation :-
WAStickerApps - Mega Sticker Packs WAStickerApps - Mega Sticker Packs
Upvotes: -1