Troubleshooting
Common Build Problems
-
Build failed due to Java heap space memory:
Set
org.gradle.jvmargs=-Xmx2048m
in agradle.properties
.If it still fails, you can further increase the memory.
-
More than one file was found with OS independent path
mozilla/public-suffix-list.txt
:Add this line to the packagingOptions in the build.gradle of you app:
packagingOptions { exclude 'mozilla/public-suffix-list.txt' }