Xvid plays fine on Android - you do not need a codec, you need a player that brought its own.

Android's own decoders do not reliably cover Xvid.
Media players get around that by shipping their own, which is why the format works inside them regardless of what your phone provides.
Short answer. Install VLC for Android, open the file, and it plays.
The three that work
| Player | Plays Xvid | Best for |
|---|---|---|
| VLC | Yes, nothing to set up | Almost everyone |
| MX Player | Yes, video works out of the box | Gesture controls and subtitles |
| mpv | Yes, nothing to set up | People who tune their playback |
All three are free, none carries advertising, and none needs a codec download for the video.
VLC for Android
VLC for Android is the one to install if you want this dealt with in a single step.
It decodes Xvid, DivX and essentially every other format you are likely to meet, finds subtitle files sitting next to your video automatically, and plays from network shares as happily as from storage.
Install it, grant storage access when it asks, and your videos appear in the Video tab ready to tap.

MX Player
MX Player also decodes Xvid on its own, and its gesture controls and subtitle handling are better than VLC's.
The catch is audio rather than video. Many Xvid AVIs carry an AC3 track, and MX Player leaves the licensed audio decoders out of its Play Store build, so the picture can play while the sound does not.
Our guide on using Xvid with MX Player covers that, along with the decoder setting that fixes stuttering playback.
mpv for Android
mpv for Android runs the same playback engine as the desktop version and gives you far more to adjust - scalers, interpolation, debanding, styled subtitles.
It is the right choice if you already know you want those controls, and more than you need if you do not.
Switch to software decoding if Xvid stutters. Phone chips accelerate H.264 and HEVC reliably but handle Xvid inconsistently, so forcing software decoding usually clears up juddering or blocky playback in any of these players.
There is no Xvid codec APK
Windows works the other way around, where a codec installs once and every program can use it. Android has no equivalent, so nothing you install system-wide will help.
That matters because plenty of sites advertise an "Xvid codec for Android" download. Those files are not what they claim to be and are worth avoiding entirely.
Our guide on whether a downloadable Xvid codec exists for Android goes through why they keep appearing.
If you want a full media centre instead
Kodi plays Xvid too and is built for organising a library across a TV box or spare device.
It is a great deal more than a video player, so it is the wrong answer if you only want one old file to work this evening.
Quick questions
Which player should I install to play Xvid on Android?
VLC for Android. It opens Xvid immediately with nothing to configure and covers almost every other format at the same time.
Is there an Xvid codec APK for Android?
No, and Android has no system-wide codec mechanism for one to plug into. Anything advertised as an Xvid codec APK is best left alone.
Why does my Xvid video stutter or look blocky?
Your phone is probably trying to decode it in hardware, which suits Xvid badly. Switch that file to software decoding in your player's settings.
The video plays but there is no sound. What is wrong?
The audio track, not the video. Many Xvid AVIs use AC3 audio, which MX Player needs a free add-on to decode, while VLC and mpv handle it already.
Are these players really free?
VLC and mpv are free and open source with no advertising or paid tier. MX Player is free with advertising in its streaming sections.
Should I convert my Xvid files to MP4 instead?
Only if you need them on a device with no suitable player. Converting is lossy (a little quality is thrown away every time), so a file that plays is best left alone.
Free Popular IPTV Playlist: Where to Get Fres...
4/5Thanks Very Much
Read More →How to Download HEVC Video Extension for Free
5/5its works! thank you all!
Read More →How to Use Helium Audio Converter: Convert An...
5/5@levi Yes, it works offline, it's a desktop software.
Read More →