In most cases, the reason you get an error message when trying to play a video file on your Android device is that the codec for the media file is not supported by your media player. Another possible reason is that the audio codec is not supported.