I use docker to build aosp android-6.0.0_r2(MRA58N). 

Docker version: android-6.0.0_r2
Dockfile: https://gist.github.com/huhuang03/ecca29e6ce2bc918b89655650f2f7101

I have already unset the proxy.

But when I run `m`. The error is:
```

Launching background server java -Dfile.encoding=UTF-8 -Xms2560m 
-XX:+TieredCompilation -jar out/host/linux-x86/framework/jack-launcher.jar 
-cp out/host/linux-x86/framework/jack.jar 
com.android.jack.server.JackSimpleServer

ERROR: Bad request, see Jack server log (/tmp/jack-root/jack-8072.log)

```

I have tried start jack server manually by

java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation  -jar 
out/host/linux-x86/framework/jack-launcher.jar  -cp 
out/host/linux-x86/framework/jack.jar 
com.android.jack.server.JackSimpleServer 8072 8073 1 4 60

And then request by shell:

```

HTTP_CODE=$(curl http://127.0.0.1:8072/jack --write-out %{http_code})

echo "curl result: $?"

echo "HTTP_CODE: $HTTP_CODE"

```

The the curl result is 0 and HTTP_CODE is 400.

How can I debug this? Thank you.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/00fd01fa-9dc7-4c46-913a-458e32087eaen%40googlegroups.com.

Reply via email to