I think that if Android studio have a offline function using gradle maybe exist a way to do that in lamw installing something from Android studio maybe, using gradle in a blocked nation like cuba (me), iran etc need a vpn connection, jmpessoa have right ,when you build the first time the gradle needed files is cached in local, but if you add other component then you need internet connection again.