Gradle Sync Error Or SDK Manager Error

When I tried to build my project it failed. The error came “peer not authenticated”. I tried to resync the project but the error remains same. What is this error? Is it a gradle sync error or SDK manager error and how can I deal with it?
