How change avatar muc using smack library android?
You probably need a server that supports this.
I don’t think that Smack has convenient client-side support for MUC avatars right now. This could change however, as the building blocks are available. Contributions are welcome
For protocol details see https://docs.ejabberd.im/tutorials/muc-vcard/