crashlyticsGenerateSymbolsRelease-StackOverflowError

时间:2018-08-06 13:51:07

标签: crashlytics google-fabric crashlytics-android

几周前,我们遇到了一个问题-构建中使用的插件crashlytics崩溃并显示以下消息:

:packageRelease
:crashlyticsStoreDeobsRelease
:crashlyticsUploadDeobsRelease
:lintVitalRelease
:assembleRelease
:crashlyticsGenerateSymbolsRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':crashlyticsGenerateSymbolsRelease'.
> java.lang.StackOverflowError (no error message)

在Debug模式下构建项目时,只有在尝试Release模式时才没有问题。

在此问题上,通过链接(crashlyticsGenerateSymbolsRelease - GC overhead limit exceeded)也发现了类似问题,但没有帮助。


我们使用的插件版本:

implementation('com.crashlytics.sdk.android:crashlytics:2.9.4@aar') {
implementation('com.crashlytics.sdk.android:crashlytics-ndk:2.0.4@aar')

从gradle登录并出现错误:

Caused by: java.lang.StackOverflowError
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.padLong(NamedRangeIndex.java:542)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.referenceBytesAsLong(NamedRangeIndex.java:525)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.attributeValue(NamedRangeIndex.java:475)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntryAndAttribute(NamedRangeIndex.java:419)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntrySequence(NamedRangeIndex.java:400)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntryAndAttribute(NamedRangeIndex.java:422)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntrySequence(NamedRangeIndex.java:390)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntryAndAttribute(NamedRangeIndex.java:422)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntrySequence(NamedRangeIndex.java:400)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntryAndAttribute(NamedRangeIndex.java:422)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntrySequence(NamedRangeIndex.java:390)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntryAndAttribute(NamedRangeIndex.java:422)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntrySequence(NamedRangeIndex.java:400)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntryAndAttribute(NamedRangeIndex.java:422)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntrySequence(NamedRangeIndex.java:390)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntryAndAttribute(NamedRangeIndex.java:422)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntrySequence(NamedRangeIndex.java:400)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntryAndAttribute(NamedRangeIndex.java:422)
        at com.crashlytics.tools.utils.elf.index.NamedRangeIndex.symbolNameFromEntrySequence(NamedRangeIndex.java:390)

0 个答案:

没有答案