I am trying to upload symbols files to crashlytics using this command on mac:
firebase crashlytics:symbols:upload --app="ANDROID_APP_ID" /Users/macbook/debuginfo/testApp/1.2.0+141
But i got this error:
java.io.IOException: Breakpad symbol generation failed (exit=126), see STDERR at com.google.firebase.crashlytics.buildtools.ndk.internal.breakpad.BreakpadSymbolGenerator.generateSymbols(BreakpadSymbolGenerator.java:133) at com.google.firebase.crashlytics.buildtools.Buildtools.generateNativeSymbolFiles(Buildtools.java:273) at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeGenerateSymbols(CommandLineHelper.java:185) at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeCommand(CommandLineHelper.java:118) at com.google.firebase.crashlytics.buildtools.CommandLineHelper.main(CommandLineHelper.java:65) at com.google.firebase.crashlytics.buildtools.Buildtools.main(Buildtools.java:111)
Error: java command failed with args: -jar,/Users/macbook/.cache/firebase/crashlytics/buildtools/crashlytics-buildtools-2.9.2.jar,-symbolGenerator,breakpad,-symbolFileCacheDir,/tmp/crashlytics-32c807e8-10a3-49c0-a833-0f6da19b9dc6/nativeSymbols/1-211607324153-android-5b9e71e339cdc91b0fe928/breakpad,-verbose,-generateNativeSymbols,-unstrippedLibrary,/Users/macbook/debuginfo/testApp/1.2.0+141,-clientName,firebase-cli;crashlytics-buildtools
1条答案
按热度按时间juzqafwq1#
我发现了这个问题,这是因为在我把我所有的项目目录从
Ubuntu
机器移动到我的新Mac
机器后,我在android/build.gradle
文件中将crashlytics的依赖性从2.9.2
升级到2.9.4
:因此,我通过删除
.crashlytics
目录解决了问题,然后再次运行这些命令: