I got the following Error in android Studio 2.2.3 when I sync gradle.
Error:Cause: unable to find valid certification path to requested target
If you re in your office ,use your smartphone network. I think It will work.
Switching to the smartphone network & disabling the web security tool installed on my computer solved the problem.
change dependencies from compile to Implementation in build.gradle file
This issue is related to network connectivity if not solved adding maven { url "http://jcenter.bintray.com"} at project level.
Just try to change your network and sync the gradle, should fix this issue for sure.
If you are using kotlin and its showing this error please update your kotlin gradle plugin in project level build.gradle.
The certificate expired case : Go to certificates in settings and check if any certificate is expired if any, delete that certificate and clean and sync it will work.
Dependencies- unable to find case : In this case delete that dependency and sync the project then add the dependency again with some another version(downgraded version) and sync the project it will work.
These three cases i faced and wasted so much time, hope this will help someone and save someones day.
Thankyou - happy coding**:-)**
Simple Invalidate/Restart fixed it for me. No other actions were taken