opened
PhpGuyZim
username_0
In manifest, I have this, which is the referenced line in the error:

```
<activity tools:replace="android:theme"
			android:name="com.facebook.FacebookActivity"
			android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
			android:label="@string/app_name"
			android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
```

Any ideas?
System: Win 10, RN 43
 The prefix "tools" for attribute "tools:replace" associated with an element type "activity" is not bound.                                                                                                           
issue
created
pmadruga
username_1
Did you add the _xmlns:tools="http://schemas.android.com/tools"_ inside AndroidManifest.xml?

Specifically, 

```
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.YOUR_APP_NAME"
    android:versionCode="2"
    android:versionName="2.0.1">
```
comment
created
lwhiteley
username_2
should pull from master instead of npm
comment
created
PhpGuyZim
username_0
Hmm... I uninstalled react-native-facebook-login and left it for later after struggling for several hours. I can't specifically answer yes or no to that question except to say I had followed all the steps as per instructions. If I run into the same issue when I reinstall I will comment. Thanks.
comment
created
pmadruga
username_1
I tried to replicate again and I believe my solution is wrong. What made it build, after having the same error as you, was to just remove the line

`tools:replace="android:theme"`

Hope this helps.
comment
created
lwhiteley
username_2
please use master and not the version on npm. should resolve issue as well as using @username_1 original solution
comment
closed
PhpGuyZim
username_0
issue
created
PhpGuyZim
username_0
Just reporting back to help others. I did try to install again, and this time, from master. "Worked" out of the box in the sense that I wasn't getting the error anymore. Instead other issues, namely: https://github.com/magus/react-native-facebook-login/issues/64 finally got me to just uninstall and move on to other modules.
I will try https://github.com/facebook/react-native-fbsdk instead.
Thanks for the help.
comment
created
SelaO
username_3
@username_2 is this still what you recommend? To not install from npm? 

@username_1 I get an error that `tools:replace="android:theme"` is needed.
comment
created
Kosai106
username_4
@username_3 To fix this, add `xmlns:tools="http://schemas.android.com/tools"` to the `<manifest>` header.
comment
created
Belka1000867
username_5
This works for me.
https://stackoverflow.com/a/28106780/6026222

Add `tools:node="replace"` to `<application/>` tag.
comment