https://github.com/triplef/android-upload-ndk-symbols
Uploads Android NDK native library symbols to Firebase Crashlytics as a stand-alone project.
https://github.com/triplef/android-upload-ndk-symbols
android crashlytics firebase gradle ndk
Last synced: 3 months ago
JSON representation
Uploads Android NDK native library symbols to Firebase Crashlytics as a stand-alone project.
- Host: GitHub
- URL: https://github.com/triplef/android-upload-ndk-symbols
- Owner: triplef
- License: unlicense
- Created: 2021-06-23T15:17:37.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-23T15:33:38.000Z (about 5 years ago)
- Last Synced: 2025-03-29T03:28:55.726Z (over 1 year ago)
- Topics: android, crashlytics, firebase, gradle, ndk
- Homepage:
- Size: 56.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Upload Android NDK Symbols to Firebase Crashlytics
==================================================
This Gradle project allows uploading Android NDK native library symbols to Firebase Crashlytics independent from the build process of your app.
It is intended to be used e.g. during a "publish" task on a CI server in order to upload symbols only for builds that are published. This can significantly speed up builds if your app has a lot of native code, as generating symbol files and uploading them to Firebase can be a slow process.
Usage
-----
First, copy your `google-services.json` into this folder. This is required for the Firebase Crashlytics Gradle plugin to have access to your Google App ID in order to associate the symbols with your app.
Then call the Gradle task with your application identifier and the path to a folder containing your unstripped native libraries:
```
./gradlew uploadCrashlyticsSymbolFileRelease -PapplicationId=com.example.app -PunstrippedNativeLibsDir=/path/to/unstripped-native-libs
```
The unstripped native libraries can usually be found in the following location of your Android build:
`build/intermediates/merged_native_libs/release/out/lib/`