Skip to content

Instantly share code, notes, and snippets.

@nickwph
Created October 13, 2015 20:00
Show Gist options
  • Save nickwph/507064e2e3f347a92505 to your computer and use it in GitHub Desktop.
Save nickwph/507064e2e3f347a92505 to your computer and use it in GitHub Desktop.
Error when Building AOSP

if you encounter this error

out/host/linux-x86/bin/jack: line 131: 31049 Killed                  $SERVER_PRG $SERVER_PORT_SERVICE $SERVER_PORT_ADMIN $SERVER_COUNT $SERVER_NB_COMPILE $SERVER_TIMEOUT >> $SERVER_LOG 2>&1
ERROR: Cannot launch Jack server
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex] Error 41
make: *** Waiting for unfinished jobs....

its because ~/.jack has an incorrect permission you can fix it with

chmod 777 ~/.jack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment