The following error occurred when compiling Android:
[ 28% 1127/3932] Ensuring Jack server is installed and started
Reason: when Jack compiles, there may be multiple people compiling at the same time. At this time, there may be two people using the same port, resulting in port conflict and timeout.
Solution: modify the port number (modify the. Jack settings and. Jack server/config. Properties files)
Open the. Jack settings file in the root directory of the project, and modify Jack. Server. Service. Port and Jack.server.admin.port port. Set the port number as large as possible to reduce the probability of port collision. For example, I set jack.server.service.port to 28078 and jack.server.admin.port to 28079
# Server settings SERVER_HOST=localhost SERVER_PORT_SERVICE=28078 SERVER_PORT_ADMIN=28079 # Internal, do not touch SETTING_VERSION=4
Open the. Jack-server/config.properties file in the root directory of the project, and set jack.server.service.port and jack.server.admin.port to the same values as the steps.
jack.server.idle=180 jack.server.max-service.by-mem=1\=2147483648\:2\=3221225472\:3\=4294967296 jack.server.shutdown=21600 jack.server.time-out=7200 jack.server.max-jars-size=104857600 jack.server.service.port=28078 jack.server.admin.port=28079 jack.server.config.version=4 jack.server.max-service=4 jack.server.deep-idle=900
After modification, if there is no conflict, you can compile normally.
- Linux configuration SFTP server
- Kafka connection abnormal org.apache.kafka . common.errors.TimeoutException : Failed to update metadata after 60000 ms.
- [Solved] Rabbitmq Warning: java.net.SocketException: socket closed
- IntelliJ idea community community integrated Tomcat or jetty tutorial
- PS open prompt AMT subsystem failure solution
- When Python Django creates a database, can’t open file ‘ manage.py ‘: [Errno 2] No such file or directory
- Winscp failed to upload the file to the server, indicating permission denied with return code 3
- SQL Server 2008 18456 error and SA unable to login solution
- Solution of xshell error report on 2021.05.03
- Unable to connect to MKS：Internal error
- ActiveMQ installation, deployment and running
- Solution to a Jenkins serious error recorded by automation platform
- In depth analysis of mysq exceeding the number of connections error 1040 (HY000): too many connections
- Apache2 cannot be started and an error is reported for apache2.service failed because the control process exited with error code.
- [xampp] error: Apache shutdown unexpected. 11:00:50 [Apache] solution details
- socket.error : [errno 10048] and view PID process number and port number
- Invalid host header error in Vue using peanut shell agent
- How to Fix Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- Server Tomcat v8.0 Server at localhost failed to start.
- Error 404:SRVE0190E: File not found: index.action when websphere publishes the project war package