-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Linking does not seem to work #164
Comments
I'm having the same problem. I also don't see how to "Modify the ReactInstanceManager.builder() calls chain in android/app/main/java/.../MainActivity.java to include:" I don't have any references in my MainActivity.java file to ReactInstanceManager. My path to MainActivity.java is also different: I running the latest version of RN. |
This issue is related to React-Native 0.18. Here's a related solution: I'll try to get a working version from that. |
Tagging @farmisen since he was the original source for the documentation. |
I linked this project with "git+https://github.com/lwansbrough/react-native-camera.git" in package.json instead of using npm version ^0.3.8 and it works this way |
In MainActivity.java add this line: before the class, that should do the trick.Also, the current nom release version does not have the android support yet. You will need to do |
Worked. Thanks @ardowz Here's what my final MainActivity looks like:
|
Nice. I managed to make mine to compile, but whenever I try to run it on my phone. I get an error which is in (#165) was wondering if you guys made it to work in android completely. |
Nope. Running into the same issue. |
Also doesn't work here. npm install react-native-camera@https://github.com/lwansbrough/react-native-camera.git --save And then add the changes @ardowz said + @dangnelson |
Hi all, please try with the latest commits from master. |
following the steps from @dangnelson & running the following worked in terms of building, haven't tested it yet on a device. npm i react-native-camera@https://github.com/lwansbrough/react-native-camera.git --save |
@rpopovici Worked for me, thanks. |
I solved it like this.. |
for everyone that links it manually - see: #164
for everyone that links it manually - see: react-native-camera/react-native-camera#164
for everyone that links it manually - see: react-native-camera/react-native-camera#164
I followed all steps but when i build the android app i get the following error.
I added in the told files
Any ideas?
Regards,
Mo
The text was updated successfully, but these errors were encountered: