-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The prefix "tools" for attribute "tools:replace" associated with an element type "activity" is not bound. #233
Comments
Did you add the xmlns:tools="http://schemas.android.com/tools" inside AndroidManifest.xml? Specifically,
|
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. |
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
Hope this helps. |
please use master and not the version on npm. should resolve issue as well as using @pmadruga original solution. Also see deprecation notice in readme |
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: #64 finally got me to just uninstall and move on to other modules. |
@lwhiteley is this still what you recommend? To not install from npm? @pmadruga I get an error that |
@SelaO To fix this, add |
This works for me. Add |
I'm having a similar problem while trying to create a checklist app. In my build.gradle (Module:app) I was instructed to add implementation 'androidx.recyclerview:recyclerview:1.1.0' This gave me error Manifest merger failed and suggested that I add tools:replace="android:app component factory" to my element in my AndroidManifest.xml. I also added xmlns:tools="http://schemas.android.com/tools" to my element to make it work, but now I'm getting several log errors that primarily focus on "Couldn't load memtrack module". |
I think it is worth mentioning here that this line should be added inside the starting manifest tag.
|
Hi,
Followed android installation instructions. All looks good, until I try to build.
I get the "tools" error and everything stops:
[Fatal Error] :37:65: The prefix "tools" for attribute "tools:replace" associated with an element type "activit
y" is not bound.
FAILURE: Build failed with an exception.
Exception while parsing the supplied manifest file D:_mobidev\app\android\app\src\main\AndroidManifest.xml
In manifest, I have this, which is the referenced line in the error:
Any ideas?
System: Win 10, RN 43
The text was updated successfully, but these errors were encountered: