Skip to content

Commit

Permalink
Disable AAPT2 in gradle.properties
Browse files Browse the repository at this point in the history
This is a workaround for
https://issuetracker.google.com/issues/64434571. It was originally
added only as an option in Android Studio, after user reported the
issue.
  • Loading branch information
nevenz committed Jan 7, 2018
1 parent 17a5d3d commit 9eb8adf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# Default value: -Xmx10248m -XX:MaxPermSize=256m
org.gradle.jvmargs=-Xmx3072M -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# Workaround for https://issuetracker.google.com/issues/64434571
android.enableAapt2=false

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
Expand Down

0 comments on commit 9eb8adf

Please sign in to comment.