A blog for technology, SEO tips, website development and open source programming.

Execution failed for task ‘:app:preBuild’

0 1,875

Screen Shot 2014-03-17 at 21.15.15

Yesterday, I’ve tried to build an old project but an error occurred.  In order to resolve the issue you need to perform the following steps:

  1. Update the SDK to 19.0.0+
  2. Check all your build.gradle files whether they are using the 19.0.x version or not.

android {
compileSdkVersion 19
buildToolsVersion '19.0.3'
// Other Configuration

You can find a list of versions for the Android Build Tools here as well as in the SDK Manager.

Leave a Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More