Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Cut down the notils-android AndroidManifest.xml #74

Merged
merged 1 commit into from
Jun 16, 2016

Conversation

joetimmins
Copy link
Contributor

@joetimmins joetimmins commented Jun 16, 2016

When integrating notils-android into one of our projects, gradle sync was failing due to manifest merger errors.

This was because both the project in question and notils-android were defining the android:supportsRtl directive in their manifests' application tags.

Due to a bug detailed here - https://code.google.com/p/android/issues/detail?id=193679 - there is no way to specify which supportsRtl directive should be replaced.

So in order to combat this, I removed as much of notils-android's manifest as I could. It's not actually an application anyway, so this should be fine.

I tested this after cutting down the manifest by rebuilding the .aar file locally and adding that into one of our projects. Everything worked fine, there was no problem with gradle sync or running tests or the app itself.

@tasomaniac
Copy link
Contributor

Makes sense. These should be decided by the application using the library.

@tasomaniac tasomaniac merged commit 9fb5931 into master Jun 16, 2016
@tasomaniac tasomaniac deleted the cut-down-android-manifest branch June 16, 2016 10:17
@blundell
Copy link
Contributor

I actually thought it still needed an empty <application /> tag TIL!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants