Manifest merger failed : Attribute
provider#com.google.firebase.provider.FirebaseInitProvider@authorities value=(fintnessathome.cardioexcercise.firebaseinitprovider) from AndroidManifest.xml:766:13-86
is also present at [com.google.firebase:firebase-common:19.3.0] AndroidManifest.xml:28:13-72 value=(com.fintnessathome.fintnessathomeapp.firebaseinitprovider).
Suggestion: add 'tools:replace="android:authorities"' to <provider> element at AndroidManifest.xml:764:9-768:39 to override.
i am facing this issue, i got the template from my freind and i want to do somechanges in android app, its shwoing this error when i excute this prgram.
CodePudding user response:
Try adding following Code in your manifest.xml
tools:replace="android:allowBackup"
CodePudding user response:
Try adding the following in the gradle.properties file
android.useAndroidX=true
android.enableJetifier=true
android.enableUnitTestBinaryResources=false
Also, add the following code into your manifest file inside the application tag
tools:replace="android:supportsRtl,android:allowBackup,icon,label"