Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dmpatel151282/7366cb24807d4187e703a3bb68789ffd to your computer and use it in GitHub Desktop.
Save dmpatel151282/7366cb24807d4187e703a3bb68789ffd to your computer and use it in GitHub Desktop.
Did you got this error while building with Jack?
Code :-
[ X% Y/Z] Building with Jack: /home/minealex2244/los/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex
FAILED: /bin/bash /home/minealex2244/los/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex.rsp
Communication error with Jack server (52). Try 'jack-diagnose'
ninja: build stopped: subcommand failed.
It looks like the installation of Jack server is broken. So how do we fix it?
1. Open a terminal window
2. Type the following commands:
Code:
jack-admin kill-server
jack-admin uninstall-server
cd prebuilts/sdk/tools
touch jack
mm -j32 showcommands &> mm.out
./jack-admin install-server jack-launcher.jar jack-server-4.8.ALPHA.jar
3. Now the build should work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment