Android release - UnmetDependencyException
See original GitHub issueHi guys, I’m using your plugin and I’ve faced with following issue: When I build android debug application with “ionic build android” command all works fine, I can simulate crashes and see statistic in dashboard. But when I build app for production release with “ionic build android --release” I got following error: Unfortunately, “app name” has stopped. Via adb logcat I got error: io.fabric.sdk.android.services.concurrency.UnmetDependencyException: This app relies on Crashlytics. Please sign up for access at https://fabric.io/signup
I was able to fix that issue by creation of additional file \mobile\platforms\android\res\values\com_crashlytics_export_strings.xml with following content:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <resources> <string xmlns:ns0="http://schemas.android.com/tools" name="com.crashlytics.android.build_id" ns0:ignore="UnusedResources,TypographyDashes" translatable="false">964B963A-E397-44CE-BEDD-207C42AB1D6C</string> </resources>
But it’s very unuseful to do that after each “ionic state reset”. Could you help me with this?
Best regards, Roman
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5
Top GitHub Comments
Which Cordova version are you using? With Cordova 6.5.0 I can successfully use the Fabric plugin but when I moved my project to Cordova 7.0.1 there’s a runtime exception of type
UnmetDependencyException
I’ve created a cordova hook (after_plugin_install) and it wortks now for cordova v7 :