crashlyticsGenerateSymbolsRelease - GC overhead limit exceeded

喜欢而已 提交于 2019-12-22 18:35:34

问题


about week ago we has been successfully integrate crashlytics in our cocos2d-x c++ project (ndk 14b). Everything looks fine, but about few days ago task crashlyticsUploadSymbolsRelease starts throw this error:

Execution failed for task ':woh:crashlyticsGenerateSymbolsRelease'.
> GC overhead limit exceeded

javaMaxHeapSize "4g", javaMaxHeapSize "16g", org.gradle.jvmargs=-Xmx4096m, and so on doesn't help us. But crashlyticsUploadSymbolsDebug is working fine:

:woh:assembleX86Debug
:woh:compileDebugSources
:woh:assembleDebug
:woh:crashlyticsGenerateSymbolsDebug
:woh:crashlyticsCacheSymbolsDebug
:woh:crashlyticsUploadSymbolsDebug

BUILD SUCCESSFUL

Total time: 5 mins 15.064 secs

What we are doing wrong?


回答1:


They have just released Fabric Gradle Plugin 1.24.3, which is still in beta and causes this issue. Reverting to 1.24.2 solves it.

Check your build.gradle file and force the previous version:

dependencies {
    classpath 'io.fabric.tools:gradle:1.24.2'
}

Source: https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin




回答2:


Mike from Fabric here. Yep, we fixed the bug. Use version 1.24.4 to get the fix.



来源:https://stackoverflow.com/questions/46792489/crashlyticsgeneratesymbolsrelease-gc-overhead-limit-exceeded

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!