Prompt [Q] Video Encoding in android

Hi all

I want to develop an android app in which i want to encode a video in mp4 format from series of images and a mp3 file.
I successfully created a video in mp4format from series of images by using JCodec library.
but unfortunately i'm unable to encode a mp3 file in it because JCodec does not have functionality of mp3 merging in mp4 along with series of images.

After that I also tried FFMPEG but i was unable to compile it.

So please help me to sort out this problem.