Android build and packaging under centos is too slow

I don't know what's going on recently. When building Android packaging under linux, it's very slow, very slow. . . . . .

It used to be fine before, a build took three or four minutes, but now it takes two or three hours, and people are going to collapse. . . .

At that time, it was said that there was a problem with the China Unicom network used by the company, and it was being dealt with. However, when the network was up and tried again, it was a little faster, and it still took more than 30 minutes. . . . .

Looking at the whole build, it is mainly stuck on gradle daemon and jar

Fortunately, our little brother architect just added an empty gradle.properties file under /root/.gradle/. When I asked him why, he was not very clear, and his face was confused. . .

as follows:

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325014458&siteId=291194637