See also questions close to this topic

I have downloaded the examples, registered and downloaded the Freemium explore sdk, and generated the required keys.

I can compile and run the examples in the latest/explore/android folder, however I cannot compile those examples in the examples/latest/navigate/android/Navigation folder. All Navigation samples complain that the navigation library is missing.

Currently my android app contains 9000+ animated vector drawables and it is taking a long time to build. I am also getting this error that only occurs when I add in the 9000+ animated vector drawables:

I've considered using GIFs and load it from the expansion file instead but I would really like to have the advantage of resolution-independence. I've tried loading the animated vector drawables from the expansion file but it seems that I can't load .xml from the file system as drawables unless I precompile it as binary XML and I think this will be my last resort as I am still not sure how to achieve this yet since I am unable to build the APK (I can extract precompiled binary XML from the APK).

May I know if there are more efficient ways of handling large amount of vector drawables or other alternatives to handling this situation? Thank you.

I am building an app which requires all users to have same time on their timers. And also the timer must run always even if no one is using the app. How can I do this using Firebase and Android Studio ?

I am using phonegap-plugin-push on Cordova and some app users get push notifications every ~30 seconds. The problem is when their device is OFFLINE and they go online say 1 hour later, they are suddenly flooded with 120 push messages at once, crashing and freezing the app.

I have a webapp using Faye for push notifications. I've packaged that web app inside a cordova android app and runs fine, and I'm using Faye.js client to listen for notifications.

The problem is that, when the application is not running in the background, notificatons are not being listened.

I've used intents in the past (a very long time ago) for an Android native app to listen for notifications but I don't know which is the "Cordova" way to do this. I would also like this to be compatible with iOS.

I have been trying to login with firebase for a few days but I get this error message I added the google-services.json file and it was successful on my first run then I got this error and I would be very happy if you can help. (google sing in method)
I looked at some solution methods, but none of them have been successful.

Duplicate class com.google.firebase.analytics.connector.internal.zzb found in modules classes.jar (com.google.android.gms:play-services-measurement-api:17.2.2) and classes.jar (com.google.firebase:firebase-measurement-connector-impl:17.0.2)
Duplicate class com.google.firebase.analytics.connector.internal.zzc found in modules classes.jar (com.google.android.gms:play-services-measurement-api:17.2.2) and classes.jar (com.google.firebase:firebase-measurement-connector-impl:17.0.2)
Duplicate class com.google.firebase.analytics.connector.internal.zzd found in modules classes.jar (com.google.android.gms:play-services-measurement-api:17.2.2) and classes.jar (com.google.firebase:firebase-measurement-connector-impl:17.0.2)
Duplicate class com.google.firebase.analytics.connector.internal.zze found in modules classes.jar (com.google.android.gms:play-services-measurement-api:17.2.2) and classes.jar (com.google.firebase:firebase-measurement-connector-impl:17.0.2)
Duplicate class com.google.firebase.analytics.connector.internal.zzf found in modules classes.jar (com.google.android.gms:play-services-measurement-api:17.2.2) and classes.jar (com.google.firebase:firebase-measurement-connector-impl:17.0.2)
Duplicate class com.google.firebase.analytics.connector.internal.zzg found in modules classes.jar (com.google.android.gms:play-services-measurement-api:17.2.2) and classes.jar (com.google.firebase:firebase-measurement-connector-impl:17.0.2)
Duplicate class com.google.firebase.analytics.connector.zza found in modules classes.jar (com.google.android.gms:play-services-measurement-api:17.2.2) and classes.jar (com.google.firebase:firebase-measurement-connector-impl:17.0.2)
Duplicate class com.google.firebase.analytics.connector.zzb found in modules classes.jar (com.google.android.gms:play-services-measurement-api:17.2.2) and classes.jar (com.google.firebase:firebase-measurement-connector-impl:17.0.2)
Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BU�LD FAILED in 3s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

I have this problem with googleSignIn feature in MY_APP. After i choose account from list to login into my app i get error "PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)".
It happens only in signed application. The answer i found on stack overflow is simple - add signed SHA-1 key from google console to my firebase console.

The problem is, when i try to add the key i get error "An OAuth2 client already exists for this package name and SHA-1 in another project. You can omit the SHA-1 for now and read more about this situation and how to resolve it."

So i entered the link and as firebase suggested i found the problematic key(it's assigned to another package - ANOTHER_APP). I copied the clientId and pasted it to FirebaseConsole -> Authentication -> Sign-in method -> Google -> Whitelist client Ids. And still google sign in in application is not working, also i still can't add the key in firebase to my app because of the error.

Long story short: the key which is assigned to AnotherApp (let's called it ANOTHER_APP) i want to have assigned to MY_APP.

Is removing ANOTHER_APP from firebase console the only answer to get this working? After i remove the key from ANOTHER_APP i still cannot add the key to MY_APP.