Álvaro
Álvaro

Reputation: 5

Gradle build error after importing Vector Asset

I'm using Android Studio 1.5 with Gradle Version 2.10 and Android Plugin 1.5.0. I just imported a Material Design icon from the Vector Asset Studio and since then I cannot run de app. I receive this error:

Error:Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/alvarohernandogavilan/Library/Android/sdk/build-tools/19.1.0/aapt'' finished with non-zero exit value 1

Anyone got any ideas? Thanks in advance!

Upvotes: 0

Views: 408

Answers (1)

ÁngelBlanco
ÁngelBlanco

Reputation: 458

It seems you need to upload your buildToolsVersion on your build.gradle file (app level).

So open the SDK manager, check the last version for "Android SDK Build-tools" and install it. In my case it is 23.0.2

Change to the newer version on your build.gradle:


android { compileSdkVersion 23

buildToolsVersion "23.0.2"

and run gradle sync. Your problem should be resolved...;)

Upvotes: 1

Related Questions