How to using offline gradle,how to specified the gradle version

sorry for asking,b’coz of the internet issue,is there anyway i can using local gradle to build project? i did install the version 2.11 in local driver,also added it to the system path.

follow the Troubleshooting documentation saying that have to changed in /build.gradle
do i have to specified the local version in this line ? classpath ‘com.android.tools.build:gradle:1.0.1’
anyone knows?

cheers

As far as I know, that’s what the gradlew wrapper is for. To use a local version of Gradle instead.

http://services.gradle.org/distributions/

you can download the gradle from http://services.gradle.org/distributions/

ok,thanks for the help