Reputation: 38439
After updating android studio I am facing Failed to find target with hash string '27.0.3' in: /Users/duggu/Library/Android/sdk
.
Gradle
SDK Manager
SDK Platforms
SDK Tools
SDK folder look like below
I tried so many links but didn't not achieve my goal yet :-
failed to find target with hash string android-23
Cause: failed to find target with hash string 'android-N'
Cause: failed to find target with hash string 'N'
Cause: failed to find target with hash string 'android-N'
Upvotes: 0
Views: 185
Reputation: 1
My mistake is as follows
compileSdkVersion rootProject.ext.buildToolsVersion
buildToolsVersion rootProject.ext.buildToolsVersion
This is a Copy caused error, Correct as follows
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
The compileSdk version is the android version, not the buildtools version.
Upvotes: 0