Skip to content

Commit

Permalink
Updated to latest build tools, added fix for crash crunched PNG on An…
Browse files Browse the repository at this point in the history
…droid 2.x
  • Loading branch information
arcao committed Mar 21, 2014
1 parent 0f95c9d commit 49b4a91
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies {

android {
compileSdkVersion 19
buildToolsVersion "19.0.0"
buildToolsVersion "19.0.3"

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
Expand Down Expand Up @@ -85,6 +85,11 @@ android {
exclude 'org/apache/http/version.properties'
exclude 'templates/release-notes.vm'
}

// use old PNGCruncher, the new one cause crash on 2.x devices
aaptOptions {
useAaptPngCruncher = true
}
}

if (project.hasProperty('storeFile') &&
Expand Down

0 comments on commit 49b4a91

Please sign in to comment.