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

前端 未结 7 1591
别跟我提以往
别跟我提以往 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:30

    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:

    1. Download the correct version of the Android SDK (version 15 in my case)
    2. Use the name of the directory folder (in my case "android-15" stored in my home folder at "~/[user_xxx]/Android/Sdk/platforms/".
    3. Edit the line in the gradle script in my case to : compileSdkVersion 'android-15'

提交回复
热议问题