Error:Cause: failed to find target with hash string 'Google Inc.:Google APIs:23' in: E:\AndroidStudio\SDK
Try to use compileSdkVersion 23
instead of compileSdkVersion 'Google Inc.:Google APIs:23'
I got this error when trying to build a project on Windows that was originally built on Ubuntu. If you're not sure which build.gradle file is causing it and the project has multiple modules, do a project search for "compileSdkVersion."
Windows expects: compileSdkVersion 'Google Apis:Google Apis:23'
Ubuntu expects: compileSdkVersion "Google Inc.:Google APIs:23"
Main module
or any library
must be using 'Google Inc.:Google APIs:23'
which is not installed in SDK. So try to change it and compile
Change : compileSdkVersion 'Google Apis:Google Apis:23'
To : compileSdkVersion 23
(You should have android-23 installed in SDK)