Crashlytics was applied to a project without an Android plugin
See original GitHub issueI am working on a cordova app that uses cordova-fabric-plugin.
We are recently having this error when building the app with Gradle, and we are not able to identify the cause:
Failed to apply plugin [id 'io.fabric'] Error:(66, 0) Crashlytics was applied to a project without an Android plugin. Please make sure the Crashlytics plugin is applied after the appropriate Android plugin for your project.
Gradle build is generated from a package.json file which defines the dependencies of the project. Two of these dependencies are:
- cordova-android: 7.0.0
- cordova-fabric-plugin: ^1.1.10
This is the generated build.gradle file that causes the error:
Is this a bug in the plugin? Can someone help me here, please?
Thank you. Kind regards.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:19
Top Results From Across the Web
Crashlytics was applied to a project without an Android plugin
I am working on an Ionic Cordova app that uses Cordova-fabric-plugin. We have recently been having this ...
Read more >Get started with Firebase Crashlytics - Google
Step 1: Add the Crashlytics SDK to your app · In Xcode, with your app project open, navigate to File > Add Packages....
Read more >Setting up a new app in Crashlytics without the IDE plugin
Add the Crashlytics plugin to your build.gradle: · Make sure your app has INTERNET permissions in AndroidManifest.xml : · Add your API key...
Read more >Android Setup - Crashlytics - React Native Firebase
Adding Firebase Crashlytics Gradle Tools · 1. Add the Google repository (if it's not there already) · 2. Add the Firebase Crashlytics Plugin...
Read more >New features in Android Studio Preview
Live Edit; SDK insights; App Quality Insights from Firebase Crashlytics ... if your project is using Compose version 1.2 or higher, Live Edit...
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
I got this error:
Failed to fetch plugin https://github.com/chancezeus/FabricPlugin.git via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Failed to get absolute path to installed module (node:34859) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
– Mike Nowak Center for Health Communications Research 📬 North Campus Research Complex 2800 Plymouth Road, Building 16 The University of Michigan 💻 http://chcr.umich.edu/
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues
For those looking for a quick fix for now, I just created a quick fork with my fixes applied. I tested a quick build with android 7.0.0 and there seem to be no problems. The fix should remain backwards compatible and thus should be pullable as is without any issues. Pull request (#122) has been submitted but for now you can install my version using:
[ionic] cordova plugin add https://github.com/chancezeus/FabricPlugin.git --variable FABRIC_API_KEY={YOUR API KEY} --variable FABRIC_API_SECRET={YOUR API SECRET}
Hope it helps those in need 😌