Created
November 13, 2018 11:54
-
-
Save dmpatel151282/7366cb24807d4187e703a3bb68789ffd to your computer and use it in GitHub Desktop.
Did you got this error while building with Jack?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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