'AppBundle size exceeds 1GB
When I built a signed AppBundle in AndroidStudio, at first it was less than 150MB, but after many builds, the generated AAB file became more than 1GB.
The size increased with each build and finally AndroidStudio gave me an OutOfMemory error. There are no images or music data in the file except for the icon image.
My Android Studio is BunbleBee Patch3.
[I tried the following:] I thought there was not enough memory, so I added the following settings.
gradle.properties
org.gradle.jvmargs=-Xms2048M -Xmx4608m -XX:MaxPermSize=2048M -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.daemon=true
What could be the cause? Thank you.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
