title: How to create offline Android apps development environment
body: <p>I'm trying to create my android apps development environment. Now already installed the Android Studio(with SDK) and JDK. but when I'm trying to create my first apps, the Android studio is trying to get several dependencies from website.
  I don't have internet connection on the development PC, is there any way to download the dependencies to local and setup an offline enviroment?</p>
  
  <p>below are the error messages while I'm trying to build my first project.
  A problem occurred configuring project ':app'.</p>
  
  <blockquote>
    <p>Could not resolve all dependencies for configuration ':app:_debugAndroidTestApkCopy'.
    Could not resolve com.squareup:javawriter:2.1.1.
         Required by:
             MyApplication2:app:unspecified > com.android.support.test.espresso:espresso-core:2.2.2
    Could not resolve com.squareup:javawriter:2.1.1.
    Could not get resource '<a href="https://jcenter.bintray.com/com/squareup/javawriter/2.1.1/javawriter-2.1.1.pom" rel="nofollow noreferrer">https://jcenter.bintray.com/com/squareup/javawriter/2.1.1/javawriter-2.1.1.pom</a>'.
    Could not GET '<a href="https://jcenter.bintray.com/com/squareup/javawriter/2.1.1/javawriter-2.1.1.pom" rel="nofollow noreferrer">https://jcenter.bintray.com/com/squareup/javawriter/2.1.1/javawriter-2.1.1.pom</a>'.</p>
  </blockquote>