I have the above error and have no clue why I still have it. I have reinstalled API 23 numerous times and done googling and the only fix I found was to reinstall the API but sti
Error:Cause: failed to find target with hash string 'Google Inc.:Google APIs:17' in: C:\Users\brahmaiah\AppData\Local\Android\Sdk
Open Android SDK Manager</a>
when i have been importing the proj of eclipse into android adt i faced same problem.but i rectrify throug the following content changing which is in gradle.build file.i.e. { compileSdkVersion 23 targetsdkVersion"23.0.1".}
Try to use compileSdkVersion 23
instead of compileSdkVersion 'Google Inc.:Google APIs:23'
I am using Ubuntu ,and I had the same issue. The accepted answer did not work for my version of Android Studio (2.3.3).
I had to import an Eclipse webapp project for Android SDK 15, and did receive the same message. The solution that worked for me was the following:
"~/[user_xxx]/Android/Sdk/platforms/"
. You can create a new project
and see what's written in this project's 'build.gradle'.For example it is 'compileSdkVersion 25',then change your target project to 'compileSdkVersion 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"
I got this error too, when i imported eclipse project to android studio. So i just did a little search "Edit -> Find -> Find in path" for "APIs 23" And i did replace (compileSdkVersion 'Google Inc.:Google APIs:23') in "Build.gradle" withe (compileSdkVersion 24). I think it should works. Good luck