Sometimes, Jack just doesn't want to play. Here is the error I got while trying to compile AOSP 7.0 for the Samsung SGH-M919, T-Mobile S4:
[CODE]
[ 1% 73/5641] Ensure Jack server is installed and started
Jack server already installed in "/home/alaskalinuxuser/.jack-server"
Launching Jack server java -XX …