Did you got this error while building with Jack?

Code :- [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. [/code] It looks like the installation of Jack server is broken. So how do we fix it? Open a terminal window Type the following commands: code:- [code language=”bash”] jack-admin…


Code :-

[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.

[/code]

It looks like the installation of Jack server is broken. So how do we fix it?

  • Open a terminal window
  • Type the following commands:

code:-

[code language=”bash”]

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

[/code]

  • Now the build should work.

 


Leave a Reply

Discover more from Prabhu System Technology

Subscribe now to keep reading and get access to the full archive.

Continue reading