A heteroaryl[4,3-c]pyrimidin-5-amine derivative, a preparation method therefor, and medical uses thereof. Specifically, a heteroarylo[4,3-c]pyrimidin-5-amine derivative represented by a general formula (I), a preparation method therefor, a pharmaceutical composition containing the derivative, and uses thereof as therapeutic agents, in particular, a use as a A2a receptor antagonist and A use in preparation of a medicament for treatment of conditions or symptoms that are ameliorated by inhibiting the A2a receptor; various substituent groups in the general formula (I) have the identical meanings as those in the specification.