-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot upload debug symbols for Android to crashlytics #1298
Comments
Hi @nioan, This issue appears to be more related to the Firebase CLI rather than the SDK, but the cause of this behavior could be related to the command you're using. Take note that the command for uploading symbols is
You may refer to our documentation for more information. If the issue persists after making changes to your command, you may raise this to the Firebase CLI GitHub repository. Feel free to include any relevant information such as CLI version and latest error logs. |
[READ] For Firebase Unity SDK issues, please report to Firebase Unity open-source
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
Cannot upload symbols with firebase cli. The original symbols file is 2.7GB. Following some advice on unity forums, I removed dbg.so files and re-zipped the symbols. The result is a symbols file slightly over 300MB.
This all is happening in a ruby image in docker. I don't see any java binary installed, but this probably is bundled with the firebase cli.
I tried to upload with the following command:
firebase crashlytics:symbols:upload --app=<app_id> --token='<firebase_token>' ./symbols.zip
I get the following error:
i Generating symbols for ./Fantastic_Battles-1.0-v3873.symbols.zip
⚠ An unknown error occurred
Error: java command failed with args: -jar,/root/.cache/firebase/crashlytics/buildtools/crashlytics-buildtools-2.9.1.jar,-symbolGenerator,breakpad,-symbolFileCacheDir,/tmp/crashlytics-8bfa47d0-5ad7-4a44-940d-801203314456/nativeSymbols/1-768264781817-android-d20c4070873c6fabe38728/breakpad,-verbose,-generateNativeSymbols,-unstrippedLibrary,./.symbols.zip,-clientName,firebase-cli;crashlytics-buildtools
The error occurs with both the original 2.7GB symbols file as well as the 300MB version I created (maximum zip, no dbg.so files).
Steps to reproduce:
Not sure how you can reproduce on your side.
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
What's the issue repro rate? (eg 100%, 1/5 etc) 100%
What happened? How can we make the problem occur?
Not sure how you can reproduce on your side. Happy to send the symbols file in a private message.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
The text was updated successfully, but these errors were encountered: