Skip to content Skip to sidebar Skip to footer

Cause: Failed To Find Target With Hash String 'android-n'

Today, I'm newbie in android studio. I have updated the latest version of andriod studio When I have opened an old projekct and started compiling the project I retrieve a error me

Solution 1:

android N is not installed in your sdk Just click on the link written in the error:

Open Android SDK Manager and it will show you the dialogs that will help you to install the required sdk for your project.

Solution 2:

you have to change in app/build.gradle before opening your project compileSdkVersion 'N' buildToolsVersion '24.0.0 rc1' targetSdkVersion 'N'

to compileSdkVersion '24' buildToolsVersion '24.0.0' targetSdkVersion '24'

Post a Comment for "Cause: Failed To Find Target With Hash String 'android-n'"