failed to find target with hash string 'android-22'

Hardik Pithva picture Hardik Pithva · Sep 22, 2015 · Viewed 141.1k times · Source

enter image description here

I have updated android studio with latest version and then after googling I also updated Android SDK with API 18 but still it gives the same error.

Answer

MBH picture MBH · Sep 22, 2015

Just click on the link written in the error:

Open Android SDK Manager

and it will show you the dialogs that will help you to install the required sdk for your project.