Sanjay Bhatnagar
Sanjay Bhatnagar

Reputation: 111

Restart Android Studio

How to restart Android Studio to overcome Gradle project refresh failed error-

Failed to find target with hash string 'Google Inc.:Google APIs:23' in: C:\Users\Admin\AppData\Local\Android\sdk

Upvotes: 5

Views: 14795

Answers (3)

Jack
Jack

Reputation: 1855

enter image description here

You can select the option from file menu - invalidate caches/ restart

Upvotes: 5

Haris ali
Haris ali

Reputation: 783

Try File -> Invalidate Caches / Restart -> Invalidate and Restart, worked for me.

If Still there is error open the Android SDK Manager and install the build tools for for all 23.x.x versions.

Upvotes: 0

Aniruddh Parihar
Aniruddh Parihar

Reputation: 3104

open SDK Manager to confirm you have sdk of Google APIs:23, if you have then follow these instruction :

Go to File>Invalidate Caches/Restart..

it will restart your android studio and auto resolve your Gradle problem.

Upvotes: 5

Related Questions