打开termux,输入

termux-change-repo

1.选择镜像组

①选择第一个回车确认

②选择第三个(Mirrors in Chinese Mainland),按空格选择并按回车确认

2.选择单个镜像

①选择第二个回车确认

②以阿里云为例,选择回车确认