Error with android studio 2.3.3: Failed to find target with hash string 'android-26'

0

What can I do to solve the following error?

Error:Failed to find target with hash string 'android-26' in: E:\ARIEL\Carrera\Programas\AndroidSDK
Install missing platform(s) and sync project

I currently have version 2.3.3 of android studio, graddle 3.5 and in the folder SDK / plataforms I have this: And I also have this when I try to install new APIs, I've already reinstalled it several times and I get the same thing, and I do not know if it's because I'm Cuban and I install it without internet or something: Thanks for your help

    
asked by MarzoGomez 17.04.2018 в 22:03
source

1 answer

1

To download the API 26 , you must enter SDK MANAGER :

Then, in the tab that says SDK PLATFORMS select the version you want to download:

Finally, in the SDK TOOLS tab, select the necessary tools such as Support-Repository , Android-Sdk tools , > Android-Sdk Platforms Tools and the Android-Sdk Build Tools .

PD: Always remember to keep all these tools updated to avoid possible errors when compiling.

    
answered by 17.04.2018 / 23:18
source