how to let ubuntu mutil user compile jack Android N preview for

567 views
Skip to first unread message

Yu guoxu

unread,
May 3, 2016, 11:25:04 AM5/3/16
to Android Building
Hi all;

   Looks like the jack on Android N preview version only support only one user.

    our company use a big server to complie Android source code,it's ok on Android L/Android M...but on Android N preview,
  
    the update of use jack,when my workmate compile there will create a jack server like this:
  
  yuguoxu@Exdroid29:~/sendcode/npreview$ ps aux | grep jack

1001     15693  0.2 11.2 33925548 11117328 ?   Sl   Apr28  19:53 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/csjamesdeng/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
yuguoxu  38081  0.0  0.0  11504   948 pts/4    S+   11:27   0:00 grep --color=auto jack

yuguoxu@Exdroid29:~/sendcode/npreview$

  but when i complie,this is an error like this.

Communication error with Jack server (60), try other ports or see Jack server log
Failed to authenticate Jack server certificate
Failed to authenticate Jack server certificate
[  1% 34/1910] target Package: FrameworkCoreTests_install_decl_perm (out/target/product/rabbit-p1/obj/APPS/FrameworkCoreTests_install_decl_perm_intermediates/package.apk)
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] 错误 1


I must call my workmate to kill his jack-server ,than i can compile my code pass,i change the $HOME/.jack $HOME/.jack_settings port config. useless.....whether the jack only support one user???

Reply all
Reply to author
Forward
0 new messages