Error:Cause: failed to find target with hash string 'Google Inc.:Google APIs:23' in: E:\AndroidStudio\SDK

前端 未结 7 1456
别跟我提以往
别跟我提以往 2021-02-02 08:26

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

7条回答
  •  悲哀的现实
    2021-02-02 08:40

    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"

提交回复
热议问题