hms-scan-demo icon indicating copy to clipboard operation
hms-scan-demo copied to clipboard

同时集成推送和ScanKit,编译时出问题

Open liyx2018 opened this issue 2 years ago • 5 comments

  • What went wrong: Out of memory. Java heap space

Possible solution:

  • Check the JVM memory arguments defined for the gradle process in: gradle.properties in project root directory

以下是我的gradle.properties: org.gradle.jvmargs=-Xmx2048m 这里改为5G也不行

liyx2018 avatar Aug 17 '22 09:08 liyx2018

您好,请尝试清理项目并重启看一下是否还有这个问题,如果问题仍然存在,请提供一份完整的异常信息我们再看下

Xuejiao-Shi avatar Aug 18 '22 02:08 Xuejiao-Shi

您好,发现我们项目添加混淆后会出现这个OOM

liyx2018 avatar Aug 22 '22 02:08 liyx2018

可以参考这个链接:https://blog.csdn.net/dashbb/article/details/122245978

Xuejiao-Shi avatar Aug 22 '22 08:08 Xuejiao-Shi

这种方式都试过了,不行。现在是项目不混淆是正常的

liyx2018 avatar Aug 24 '22 07:08 liyx2018

方便的话能否发个能复现的项目给我们看一下?可以发到[email protected]邮箱,附上issue链接,谢谢!

Xuejiao-Shi avatar Aug 24 '22 07:08 Xuejiao-Shi