Home > Mobile >  Error: Failed to find the target with the hash string 'android - 26'
Error: Failed to find the target with the hash string 'android - 26'

Time:03-17

Just build learning Android development environment
The Android Studio (3.0.1) to create a new project times wrong
Error: Failed to find the target with the hash string 'android - 26: in D: \ android SDK -
Install missing platform (s) and sync project

I use the SDK Manager is 6.0 version of the download
Of course click on the download 8.0 can solve
How to don't download address?
And how to create project default to 6.0 SDK?

CodePudding user response:

File - & gt; The Project Structure
Modify the Properties of the Compile the Sdk Version
Flavors of target SDK version

CodePudding user response:

As for the default SDK, apparently associated with SDK Platform - the tools

CodePudding user response:

refer to the second floor qq_36999309 response:
as for the default SDK, seems related to Platform SDK tools -

Can take a look at this
https://www.tuicool.com/articles/aa6VRjy

CodePudding user response:

Studio SDK version of the SDK and import the project by default caused by inconsistent, JDK version also have relations, project struture - & gt; Modules - & gt; Set the tune in the app
  • Related