admin管理员组文章数量:1394743
Solution: Increase JVM Metaspace Allocation
Modify gradle.properties: In your Flutter project directory, navigate to the android folder and locate the gradle.properties file. Add or update the following line to increase the maximum metaspace size:
.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
Solution: Increase JVM Metaspace Allocation
Modify gradle.properties: In your Flutter project directory, navigate to the android folder and locate the gradle.properties file. Add or update the following line to increase the maximum metaspace size:
.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
Share
Improve this question
asked Mar 27 at 8:59
Hammad KhanHammad Khan
816 bronze badges
1
- I updated my answer; you may check it out now. – DevQt Commented Mar 28 at 4:30
1 Answer
Reset to default 1Use this configuration in your gradle.properties
file:
.gradle.jvmargs=-Xmx4608m -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
EDIT: Perform Cache Clearing If Necessary
After configuring your gradle.properties
file, if necessary, clear the caches.
You may follow this relevant answer thread
or...
If you're using Android Studio, perform File > Invalidate Caches...
I hope this helps!
本文标签: androidHow to Fix Selfsuppression not permittedStack Overflow
版权声明:本文标题:android - How to Fix Self-suppression not permitted - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744102387a2590925.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论