title: how to resolve 'unable to find valid certification path to requested target' on Android Studio 2.3.2
body: <p>I am getting following error in Android Studio 2.3.2 when i am trying to create Empty Activity project. I also getting this when i try to import a project.</p>
  
  <pre><code>Error:Cause: unable to find valid certification path to requested target
  </code></pre>
  
  <p>Here my gradle</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:2.3.2'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p>And</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 25
      buildToolsVersion "25.0.3"
      defaultConfig {
          applicationId "com.example.myapplication"
          minSdkVersion 15
          targetSdkVersion 25
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
          exclude group: 'com.android.support', module: 'support-annotations'
      })
      compile 'com.android.support:appcompat-v7:25.3.1'
      compile 'com.android.support.constraint:constraint-layout:1.0.2'
      testCompile 'junit:junit:4.12'
  }
  </code></pre>
  
  <p>I have also tried replacing <code>jcenter()</code> with</p>
  
  <pre><code> jcenter {
          url "http://jcenter.bintray.com/"
      }
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>maven  {
              url "http://repo1.maven.org/maven2"
          }
  </code></pre>
  
  <p>And my gradle distribution url is points to latest</p>
  
  <pre><code>distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip
  </code></pre>
  
  <p>I have already checked many threads in different forums but can't solve my one from these.</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/26697118/android-studio-unable-to-find-valid-certification-path-to-requested-target">Android Studio - Unable to find valid certification path to requested target</a></li>
  <li><a href="https://stackoverflow.com/questions/42415666/errorcause-unable-to-find-valid-certification-path-to-requested-target">Error:Cause: unable to find valid certification path to requested target</a></li>
  </ol>
  
  <p><strong>Edit</strong>: 
  As the Android community seems pretty much inactive, what should i do now ? Someone please atleast as me in comment section. </p>
  
  <p>In my another machine this error was shown with a URL. I resolved that by putting the jar into the libs folder after manually downloading. But for this problem, i can't find a solution! </p>