Questions tagged [manifest-merging]

42 questions
1
vote
1 answer

Manifest merger failed : Attribute application@appComponentFactory after add Exoplayer 2.10.5

In my project After add Exoplayer 2.10.5 in my app.gradle file I get this error: my gradle version is 3.5.2 Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from…
1
vote
0 answers

FileProvder Security Exception in library

I have a library which needs to have a fileprovider and in order to prevent conflict with the implementing app's FileProvider, I used the approach mentioned here. Although the library has no issues building and the library tested in the sample…
Vijai
  • 1,067
  • 2
  • 11
  • 25
1
vote
1 answer

Manifest merger Failed after adding Google Firebase Authentication

After adding Firebase Authentication to app implementation I got a Manifest Merger failed error. "Manifest merger failed with multiple errors, see logs" I tried using different versions of the authentication but didn't work. The solutions for…
1
vote
3 answers

Manifest merger failed error in Android gradle

I am getting manifest merger failed error. I have tried most suggested way to fix below error with dependency but unable to resolve. Below is my Gradle file apply plugin: 'com.android.application' android { compileSdkVersion 28 …
Code Lover
  • 8,099
  • 20
  • 84
  • 154
1
vote
2 answers

Manifest merger failed while adding new library

I am trying to include "TedBottomPicker" library into my project. After I added library in gradle and do sync. Then I got manifest merger failed error. I checked and included tools:replace:"android:authorities" and tools:replace="android:resource"…
user2269164
  • 1,095
  • 2
  • 15
  • 31
1
vote
1 answer

Android Manifest Merge issue - Removing google ads gradle dependency doesn't remove its AndroidManifest.xml nodes

I am having two product flavors in the project (1) free (2) pro I am including google ads library only to the free product flavor as below freeCompile 'com.google.android.gms:play-services-ads:11.4.2' Now I want to replace it with another ad…
1
vote
2 answers

Manifest Merger fails when 2 libraries want to use the same permission

We are currently trying to update our System to the newest Android Studio/Gradle Tools and are expieriencing some errors on the way. We do have 2 libraries using the permission.C2D_MESSAGE, namely Firebase and XtremePush. The problem is, as soon as…
1
vote
4 answers

Execution failed for task':app:processDebugManifest'

Error:Execution failed for task ':app:processDebugManifest'. Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.3.1) from [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 is also present…
1
vote
1 answer

Can I make an exception for the manifest merger replace tag?

This is my app’s manifest which I want to override the android:supportsRtl tag for all of my…
Morteza Rastgoo
  • 6,772
  • 7
  • 40
  • 61
1
vote
0 answers

AndroidManifest merger failed on merging path-permission

I have imported some AOSP code into my application, and during execution of processDebugAndroidTestManifest task, it throws java.lang.RuntimeException: Error:Execution failed for task ':contacts_common:processDebugAndroidTestManifest'. …
Bresiu
  • 2,123
  • 2
  • 19
  • 31
1
vote
1 answer

AndroidStudio -> How to ignore my Library Manifest and use only my Application Manifest?

I have a AndroidStudio Project imported from Eclipse. In Eclipse i have a library project with his own dummy manifest which i use for testing the library disabling the library checkbox from the project configuration. Now i want to do the same in…
1
vote
1 answer

Manifest Merger fails after upgrading to Android M

After pointing to the latest manifest-merger.jar provided in the Android M preview and updating my apps to when attempting to use the manifest merger on these apps, I get the…
1
vote
0 answers

Merge two unequal length data frames by factor matching

I'm new to R and I have been searching all over to look for a solution to merge two data frames and match them by factor. Some of the data does have white space. Here is a simple example in what I am trying to do: df1 = data.frame(id=c(1,2,3,4,5),…
Link99
  • 11
  • 1
0
votes
1 answer

Android:exported needs to be specific for element

Where should I add android:exported="true" ? This is my AndroidManifest.xml
0
votes
0 answers

Getting error Unable to instantiate activity when using flavors and the launcher activity is having different code in both flavors

Getting error Unable to instantiate activity when using flavors and the launcher activity is having different code in both flavors. MainActivity is launcher activity. And it contains different code in both flavors. Project Structure --Flavor 1 -->…