Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70445

Ionic 4 Cordova - Run Android Firebase error all of a sudden

$
0
0

@vorkapps wrote:

Hello,
I am building a mobile app using Ionic 4 + Cordova. It was compiling perfectly ok for a few dozens builds, no problem whatsoever.

I made a very small change in the code, nothing changes in plugins, NPM or whatever else. And all of a sudden, it fails during compilation with:

platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseInstanceIDService.java:6: error: cannot find symbol
import com.google.firebase.iid.FirebaseInstanceIdService;
^
symbol: class FirebaseInstanceIdService
location: package com.google.firebase.iid

I am using the below cordova plugins (and was using the same when it was compiling ok):

  • device
  • vibration
  • firebase
  • fcm-with-dependecy-updated
  • NFC

I tried whatever I could find on the net, but nothing changed.
One of the suggestions was to also add firebase-auth, even if not used, which I did but didnt have any effect, so I removed it.
(edit: I also tried removing and re-adding the android platform, again no effect)

Any ideas? (as it is for a project with a deadline in 2 days, I would really appreciate any help I can get quickly)…
MANY thanks !

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>