Crashlytics error when migrating to capacitor

I decided to have a go at migrating my app from Cordova to Capacitor. I don’t know an awful lot about capacitor or true native development and thought this would be a good opportunity to learn.

The app uses the firebasex plugin for access to cloud firestore and nothing more.

When migrating I keep facing this error and have scoured the web to find a solution without much luck:

Crashlytics could not find the manifest. Not found at C:\path\to\app\android\capacitor-cordova-android-plugins\build\intermediates\merged_manifests\debug\AndroidManifest.xml

I’m not actually using Crashlytics so if it’s possible to disable it that would be a satisfactory solution.

Ionic info below

Ionic:

   Ionic CLI                     : 5.4.16 (C:\Users\Alok\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 5.0.5
   @angular-devkit/build-angular : 0.900.7
   @angular-devkit/schematics    : 9.0.7
   @angular/cli                  : 9.0.7
   @ionic/angular-toolkit        : 2.2.0

Capacitor:

   Capacitor CLI   : 1.5.1
   @capacitor/core : 1.5.1

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0
   Cordova Plugins   : cordova-plugin-ionic 5.4.6, cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 13 other plugins)

Utility:

   cordova-res : 0.9.0
   native-run  : 0.3.0

System:

   Android SDK Tools : 26.1.1 (C:\Users\Alok\AppData\Local\Android\Sdk)
   NodeJS            : v10.16.3 (C:\Program Files\nodejs\node.exe)
   npm               : 6.9.0
   OS                : Windows 10

cordova plugin list gives:

cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-firebasex 7.0.1 "Google Firebase Plugin"
cordova-plugin-inappbrowser 3.2.0 "InAppBrowser"
cordova-plugin-ionic 5.4.6 "cordova-plugin-ionic"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.3 "cordova-plugin-ionic-webview"
cordova-plugin-local-notification 0.9.0-beta.3 "LocalNotification"
cordova-plugin-purchase 9.0.0 "Purchase"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 5.6.3 "SocialSharing"
cordova-sqlite-storage 4.0.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
es6-promise-plugin 4.2.2 "Promise"

Thanks in advance

Hi, I am facing the same issue. Have you been able to solve it? So far, I am reading other threads (like this one) but nothing that works on my side at least.

Thanks

I am also facing the same error. Didn’t find any solution yet.

The issue ended up being the Firebase plugin which isn’t supported by Capacitor. You can use the Firebase SDK or AngularFire straight out of the box with capacitor though. I didn’t fancy refactoring all my code so I stuck to Cordova for that project and have been using Capacitor since.