2,3-dimethyl-6-amino-2H- indazole 5.00g,2,4-Dichloropyrimidine 13.9g and sodium bicarbonate 10.4g were dissolved in 100mL absolute ethanol and heated to 79°C.After refluxing for 4 h, cool to room temperature and filter. The cake was washed well with ethyl acetate, and the filtrate was collected. Concentrate under reduced pressure, remove the solvent, and fully beat with ethyl acetate and filter to give an off-white solid. Recrystallization from methanol gave 7.64 g of product N-(2-Chloropyrimidin-4-YL)-2,3-dimethyl-2H-indazol-6-amine as a white solid, yield: 90.0%.