Running Gradle task 'assembleDebug'...
Exception in thread "main" javax.net.ssl.SSLException: Connection reset
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:326)
at java.base...
Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/archcd /etc/yum.repos.d/
修改 CentOS-Base.repo注释掉 mirrorlist= 开头的注释取消 baseurl 开头的注释将 baseurl 中的mirrorlist.centos.org 改为 vault.centos.org
function getRandom(start, end, fixed = 0) {
let differ = end - start
let random = Math.random()
return (start + differ * random).toFixed(fixed)
}getRandom(1,5) 1<= num >=5