Message: "Crashlytics could not find NDK build tasks on which to depend."
See original GitHub issueDescribe your environment
- Android Studio version: 4.0
- Firebase Component: Crashlytics, firebase-crashlytics-gradle plugin
- Component version: 2.2.0
Describe the problem
The problem with specifying NDK library paths was helpfully fixed as part of issue #1199; however, the new version 2.2.0 of the firebase-crashlytics-gradle plugin now produces this message:
Crashlytics could not find NDK build tasks on which to depend. You many need to manually enforce task dependencies for generateCrashlyticsSymbolFileFlavorAmazonRelease
The message does not stop the build, but there is also no indication of whether there is a significant problem or not. I suspect the message is due to the NDK being part of a Gradle/Android subproject, and not the “:app” project itself.
Steps to reproduce:
./gradlew app:uploadCrashlyticsSymbolFileBUILD_VARIANT
reproduces the “could not find NDK build tasks” message.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:14
- Comments:18 (1 by maintainers)
Top Results From Across the Web
Get Android NDK crash reports | Firebase Crashlytics - Google
Get Android NDK crash reports ... If your Android app contains native libraries, you can enable full stack traces and detailed crash reports...
Read more >Crashlytics NDK: No symbols for crashes since update to new ...
Crashlytics NDK : No symbols for crashes since update to new sdk · Project-Level build.gradle · App-Level build.gradle · Symbols get generated
Read more >Release Notes - Play services - Google Developers
... Firebase Cloud Messaging. For more information, see the Firebase Android SDK Release Notes. ... Note: These FIDO APIs should not be used...
Read more >New features in Android Studio Preview
This page lists the new features introduced in Android Studio preview releases. The preview builds provide early access to the latest features and ......
Read more >Setting up Firebase Crashlytics NDK | ProAndroidDev
As some of us might know, Firebase will finally be deprecating its support to ... NDK runtime dependency into our app-level build.gradle ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @kevinkokomani, @MassimoMessore,
Just wanted to confirm I’m facing the same issue as Massimo. I have similar Android Studio project and native libraries built separately from this project (also using NDK r17c), libraries are placed in two folders (stripped(release libs) and unstripped(debug libs)), which are pointed in the application build.gradle file (unstrippedNativeLibsDir and strippedNativeLibsDir properties). I’m building the project in Debug mode, so the uploadCrashlyticsSymbolFileDebug task is performed successfully (there is no warnings/errors) and also I checked that all the *.cSYM files are successfully uploaded to the firebase during this task execution. I tried to use different ‘firebase-crashlytics-ndk’ versions (17.0.0-beta, 17.0.1 and 17.1.1), but eventually I always have ‘missing symbols’ in crash report stack trace in the firebase console. I double checked the settings related to firebase and assured that everything set up in accordance with the crachlytics-ndk documentation. Of course there may be a mistake in my configuration, but I double checked everything and currently for me it looks like a bug in firebase.
Best Regards, Nikolay
I had same issue with missing stacktrace and this what I received from support:
I have tried it and it worked. At least for stack entries which belong to my own native code. Hope this will help.