Select Custom Gradle Properties Template in Publishing Setting. Then add the following proxy Settings (open proxy port yourself)

SystemProp, HTTP proxyHost = 127.0.0.1 systemProp. HTTP. ProxyPort = 1087 systemProp. HTTP. NonProxyHosts = SystemProp. HTTPS. ProxyHost = 127.0.0.1 systemProp. HTTPS. ProxyPort = 1087 systemProp. HTTPS. NonProxyHosts =Copy the code

Is the Gradle version required by the third-party SDK in Unity too low? Select Custom Base Gradle Template in Publishing Setting and modify the Gradle version number. At the same time, set the Gradle Installed directory downloaded in Unity Preference in External Tools (~ /. Gradle/wrapper/dists/gradle – 6.5 – all / 2 oz4ud9k3tuxjg84bbf55q0tn/gradle – 6.5)

The classpath 'com. Android. Tools. Build: gradle: 4.0.0'Copy the code