Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradlew commands fail with: "failed to find target with hash string 'android-N'" #11

Closed
cirosantilli opened this issue Jun 26, 2016 · 0 comments

Comments

@cirosantilli
Copy link
Contributor

cirosantilli commented Jun 26, 2016

I have already installed SDK 23 and 24 through Studio, created a working API 24 emulator, and have NDK 12.

Whenever I run a gradlew command, e.g.:

cd tutorial01_load_vulkan
./gradlew clean

it fails with:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Exception thrown while executing model rule: NdkComponentModelPlugin.Rules#createNativeLibrary > create(vktuts) > components.vktuts.getBinaries() > withType()
   > Exception thrown while executing model rule: BaseComponentModelPlugin.Rules#createAndroidComponents
      > failed to find target with hash string 'android-N' in: /home/ciro/android-sdk

Same error message on SO: http://stackoverflow.com/questions/35937530/android-studio-2-1-preview-failing-to-find-target-with-hash-string-android-n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant