How to configure gradle? for flutter projects

debugging a project generated by the flutter plug-in using VSC shows that gradle (Initializing gradle.)
it automatically downloads ~ / .gradle/wrapper/dists/gradle-4.10.2-all/
and then gets stuck here, complaining about the domestic network.
I have manually installed gradle5.0 to / opt and configured the environment variables. Why not find the installed gradle? automatically?

Mar.08,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b9e766-2e948.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b9e766-2e948.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?