Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fix a warning activity#com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode was tagged at AndroidManifest.xml:24

I get a warning from compiler when I build my Android application.

activity com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode 
was tagged at AndroidManifest.xml:24 to replace other declarations but no other declaration present

And it is my current dependency of firebase.

implementation 'com.google.firebase:firebase-core:17.2.1'
implementation 'com.google.firebase:firebase-analytics:17.2.1'
implementation 'com.google.firebase:firebase-auth:19.2.0'
implementation 'com.google.firebase:firebase-config:19.0.3'
implementation 'com.google.firebase:firebase-messaging:20.0.1'

Do you know how to fix the warning?

like image 801
hyung jun yoo Avatar asked Dec 04 '19 13:12

hyung jun yoo


People also ask

What causes a browser warning banner?

Warning banners are brief messages that are used to inform users of policies and legislation regarding the use of a system and the information it contains. They are generally displayed at the startup of programs and operating systems, or when accessing the default page of intranets and public Web sites.


1 Answers

Please try to enter this code in AndroidManifest.xml.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    ...>

<activity
    android:name="com.google.firebase.auth.internal.FederatedSignInActivity"
    tools:replace="android:launchMode"
    android:launchMode="standard" />
...
like image 85
hyung jun yoo Avatar answered Oct 09 '22 09:10

hyung jun yoo