-
Notifications
You must be signed in to change notification settings - Fork 595
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
[CrashlyticsPlugin] "Unstripped native library path does not exist" because check is done before the "assembleRelease" task creates it (with plugin version 2.9.3 and 2.9.4) #4682
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Thanks for reporting, @bowserf. I was able to reproduce the same behavior with version |
I had the same issue with |
Hi, I am also having the same issue. Is there any news? |
Same issue here! Worked fine with 2.9.2 |
Hi, I just want to add my own findings. I have encountered this issue with 2.9.4 as well. It seems to me that it tries to include 'build/intermediates/merged_native_libs/release/out/lib' before its actually built them. If I run 2.9.2, it will build the project as thought I ran But if I run 2.9.4 it fails and informs me that the file could not be found which makes sense because its not been built. |
Thanks for all the information. This issue happens when overriding the unstrippedNativeLibsDir. We have a fix for this that will go out in the next release, in about 2 weeks. For now, I recommend using version 2.9.2. I will update this after the release with the specific version. |
Thank you very much for your message and the fix that is coming 🙏 We stay on |
This is fixed in |
Thank you so much for fixing it, @mrober! 🙏 |
Configuration
7.5.1
7.2.2
My application, using a native library, is configured to upload debug symbols on Firebase Crashlytics.
Here is its configuration:
Problem:
Starting from firebase-crashlytics-gradle version
2.9.3
, when I do an "assembleRelease" (because I configured the plugin in release) without a previous build cache, I got the following error after a few seconds:It worked with previous plugin versions (we previously used version
2.9.2
.It seems the existence of a directory at the targeted path is now done before the "assembleRelease" process and before creating such a directory.
I now have to:
nativeSymbolUploadEnabled = false
nativeSymbolUploadEnabled = true
Before executing the Gradle task to upload native symbols.
The text was updated successfully, but these errors were encountered: