title: Could not find com.android.tools.build:gradle:2.2.2
body: <p>A friend of mine copy pasted a libgdx project folder on his pc and sent the project to me(through google drive). We are both using Android Studio. I downloaded and imported the project and it is working properly on the emulator. However it is not working on the desktop. On his pc, it works both in desktop and in the emulator.</p>
  
  <p>When I try to run it in the desktop, Android Studio gives me this error message:</p>
  
  <pre><code>Error:Gradle: A problem occurred configuring root project 'bouncerGDX - Copy'.
  
  &gt; Could not resolve all dependencies for configuration ':classpath'.
  
  &gt; Could not find com.android.tools.build:gradle:2.2.2.
   Searched in the following locations:
  
  https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.pom
  
  https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.jar
  
  https://oss.sonatype.org/content/repositories/snapshots/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.pom
  
  https://oss.sonatype.org/content/repositories/snapshots/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.jar
   Required by:
       :bouncerGDX - Copy:unspecified
  </code></pre>
  
  <p>How can I fix this? I have no experience with Gradle.</p>