question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

  • Android device: LG Spirit 4G LTE
  • Android OS version: 6.0
  • Google Play Services version: 10.0.84
  • Firebase/Play Services SDK version: 10.0.1
  • FirebaseUI version: 1.1.0

Step 3: Describe the problem:

FirebaseUI doesn’t support RTL. Manifest merger fail.

Steps to reproduce:

  1. Add android:supportsRtl="true" to application tag in AndroidManifest
  2. build

Observed Results:

  • Error shows:
Error:Execution failed for task ':common:processDebugAndroidTestManifest'.
> Manifest merger failed : Attribute application@supportsRtl value=(false) from [com.firebaseui:firebase-ui-auth:1.1.0] AndroidManifest.xml:14:18-45
	is also present at [com.lapism:searchview:4.0] AndroidManifest.xml:11:18-44 value=(true).
	Suggestion: add 'tools:replace="android:supportsRtl"' to <application> element at manifestMerger1460875751612441869.xml:7:5-9:19 to override.

Expected Results:

  • No error.

Temporary solution:

  • Add android:supportsRtl="true" and tools:replace="supportsRtl" to AndroidManifest

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
alexoduscommented, Jan 13, 2017

my workaround:

 <application
        ....
        android:supportsRtl="true"
        tools:replace="android:supportsRtl"
3reactions
samtsterncommented, Jan 13, 2017

Using tools:replace="android:supportsRtl" in your own layout (as @alexodus suggested) is the correct solution. At this time we have only tested FirebaseUI with LTR languages so we use the supportsRtl=false property to indicate that to end developers.

If we translate into RTL languages in the future we will change the flag.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RTL Support in Web Applications - Scott Logic Blog
Typically in web applications supporting one of these languages, everything is reversed, meaning scroll bars, progress indicators, buttons etc.
Read more >
RTL Support | Quasar Framework
RTL is tightly coupled to Quasar Language Packs. When Quasar is set to use an RTL language (language pack has “rtl” prop set...
Read more >
RTL Support on Android. Here is all you need to know - Medium
To handle them, Android supports RTL layouts from API 17+ i.e., Android 4.2 (Jelly Bean) . Getting Started. In order to support RTL...
Read more >
RTL Support - Chakra UI
Chakra UI provides built-in support right-to-left (RTL) languages like arabic and hebrew, out of the box.
Read more >
RTL · Bootstrap v5.0
Learn how to enable support for right-to-left text in Bootstrap across our layout, components, and utilities.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found