Gradle configure proxy

Gradle default Direct Connect network,Even Mac set the global proxy is the same。Even if you set up a proxy to Android Studio,It will still be directly connected fine, clear that you can not connect to the Web site in China for a lifetime ......

Gradle let go Agent,You need to give it a separate configuration,In each project gradle-wrapper.properties Insert statement follows,Remember https do not save!

Then restart the deployment,Gradle will go honestly agents deployed。

Published by R0uter

The non-declaration,I have written articles are original,Reproduced, please indicate the link on this page and my name。

Leave a comment

Your email address will not be published. Required fields are marked *