Android Question Uncaught translation error: already added: Lcom/google/android/gms/common/util/VisibleForTesting

RichyK68

Active Member
Licensed User
Longtime User
Hi,

I'm trying to update my project to use Firebase Messaging. I'm using B4A 9.00 and Firebase Notifications 1.21, and targeting API 28. I've managed to overcome a 'no virtual method subscribetotopic' issue, and I'm now targeting API 28 not 27 after getting 'ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings' error on compile. I'm now getting this error now that I'm targeting API 28.


Can anybody advise on what I'm doing wrong? I've looked for duplicate jars but cannot find any although that apparently is the cause. Some pointers would be really helpful.

Thanks all,

Richard
 

RichyK68

Active Member
Licensed User
Longtime User
Analytics v2.01 is clashing with FirebaseNotifications v.121, if I remove one or the other it compiles but I need them both. What's the solution, if any?

Richard
 
Upvote 0

RichyK68

Active Member
Licensed User
Longtime User
I've converted it to use FirebaseAnalytics rather than the Analyics library and that solved the issue. Thanks!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…