Cordova package vue project configuration gradle environment variable

win10 uses cordova to package the vue project. Before that, gradle has been manually downloaded and the environment variable has been set. Gradle-v is valid, but when packaging, the command line will also download gradle?. Is it because gradle can only be placed in the c:/User/ {name} / .gradle directory?

Mar.01,2021

according to my own project, gradle will be reinstalled, and different versions of gradle will be installed with different versions of Android. Maybe it's Cordova's problem ~


do you use gradle wrapper when you pack? That is downloaded and run through the gradlew script under the project project. If your IDE configuration uses gradle wrapper instead of the local gradle executable, it will be downloaded.

although I have not directly used cordova, I have used ionic, underneath using cordova. This thing seems to be packaged directly using gradle wrapper under android sdk to perform android projects, so it will be downloaded directly. You can see that the gradle downloaded by gradle wrapper is in the ~ / .gradle / wrapper/ directory

.
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-1bebcbe-31ab0.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-1bebcbe-31ab0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?