The invention discloses a method and a
system for realizing Android compiling isolation. The method comprises the following steps: through a front-end page, receiving compiling tasks submitted by a user, wherein the compiling tasks are Android compiling tasks, and each compiling task comprises the storage path information of a file to be compiled on a code
server; and scheduling the received compiling task onto a corresponding compiling
machine in a distributed compiling
machine cluster, obtaining the corresponding file to be compiled from the code
server by the corresponding compiling
machine according to the compiling task, starting a Docker execution compiling container for the file to be compiled, compiling the file to be compiled in the Docker execution compiling container to obtain a compiling result file, outputting the compiling result file to a common
database, and deleting the Docker execution compiling container. Since the Docker execution compiling container is adopted, compiling environment can be quickly and independently configured, and meanwhile, the method occupies few resources and is high in compiling efficiency.