Failed to find target with hash string 'android-26' in. .

I’m in chapter 1, page 8, and Android Studio has just created and opened my new project. All seemed to be going well, but in the lower pane of the screen of my Project Window there are a series of ominous messages:

Failed to find target with hash string ‘android-26’ in: C:\Users\cwldo\AppData\Local\Android\Sdk

Error:
Consult IDE log for more details (Help | Show Log)
Install missing platform(s) and sync project

What does it mean and what should I do? I am just beginning my study of Android Programming.

1 Like

Please first check whether you installed the latest SDK Platform and the related build tools

5646

Then check the build.gradle content.

45

2 Likes