本人环境:win11 64位 jdk1.8
node:12.22.12
npm:6.14.16
ionic:5.4.16
cordova:8.1.2(cordova-lib@8.1.1)
angular cli 8.1.3
gradle:4.10.3
android studio 3.5
执行cordova build android报错如下,求解决方法
What went wrong:
A problem occurred configuring root project 'android'.Could not resolve all artifacts for configuration ':classpath’.
Could not resolve com android. tools. build: gradle:3.3.0. Required by:
project :
Could not resolve com android. tools build:gradle:3.3.0.
Could not get resource 'https://dl.google.com/d1/android/maven2/com/android/tools/build/gradle/3.3.0/gradle-3.3.0.pom
Could not HEAD 'https://dl.google.com/d1/android/maven2/com/android/tools/build/gradle/3.3.0/gradle-3.3.0.pom> Connect to dl.google. com:443 [d1.google.com/127.0.0.1]failed: Connection refused: connectTry:
Run with -stacktrace option to get the stack trace. Run with -info or -debug option to get more log output. Run with -scan to get full insights.
