一, Android

1,问题如下:

[runCmd /Users/hz/WorkSpace/Cocos/cocos-tutorial-hot-update-below-3.5.2/build/android/proj/gradlew] java.net.ConnectException: Connection refused (Connection refused)
IOException: https://dl.google.com/android/repository/addons_list-2.xml
java.net.ConnectException: Connection refused (Connection refused)
IOException: https://dl.google.com/android/repository/addons_list-1.xml 1
java.net.ConnectException: Connection refused (Connection refused)
Failed to download any source lists!
IO exception while downloading manifest:
java.net.ConnectException: Connection refused (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)

问题描述:无法下载

解决方案:

A方案:

1⃣️,取消Android Studio去掉代理

Cocos Creator之打包Bug处理_打包

2⃣️,更改./gradle/gradle.properties文件

Cocos Creator之打包Bug处理_打包_02