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.

Install completely fails for both iOS & Android

See original GitHub issue

Running React Native 0.34. Followed your automatic installation steps and am getting these errors:

Android:

/Users/dwilt/Projects/GJS/gjs-app/android/app/src/main/java/com/greatjonesstreet/MainApplication.java:37: error: constructor FBSDKPackage in class FBSDKPackage cannot be applied to given types;
            new FBSDKPackage(),
screenshot 2016-09-30 13 54 39

iOS:

'FBSDKShareKit/FBSDKSharekit.h' file not found
screenshot 2016-09-30 13 53 24

I noticed that you are not including any of the Facebook SDK stuff in your manual instructions but it is being populated via the react-native link. Not sure if this is related or your documentation to manually install just needs to be updated.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
nilsreichertcommented, Jun 16, 2017

I recently ran into the same error. What fixed it for me was going into {project_root}/node_modules/react-native-fbsdk and following the instructions in README.md. I hope this helps!

1reaction
MateusAndradecommented, Jul 19, 2019

@franzisk since you are using the last version from react-native, the current version of react-native-share on master is targeting “react-native”: “0.59.9”. But on this PR, @oleksandr-dziuban added the support for both android-x and react-native 0.60.3.

What i have suggested is to you give a try in this PR and let us know if it worked for you. If you still having any problems after that, please let us know.

Also, testing this PR on a “real” project will let us know that this is working fine. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to do when Move to iOS app isn't working? - CopyTrans
Move to iOS app isn't working? The reasons for it may vary. We'll help you fix this issue and even look through the...
Read more >
Move to iOS Not Working? Here Is the Fix! - YouTube
If Move to iOS is not working on your Android or iPhone, learn what to do in this video. Free download for iCareFone...
Read more >
Move from Android to iPhone, iPad, or iPod touch
Ready to transfer to iOS? Download the Move to iOS app to get help switching from your Android device to your new iPhone,...
Read more >
[Solved] How to Fix Move to iOS Not Working - iMobie Help
1. Make sure both the Android and iPhone are connecting with the same Wi-Fi. · 2. Ensure the data you are going to...
Read more >
Fix an installed Android app that isn't working - Google Support
Step 1: Restart & update · Open your phone's Settings app. · Near the bottom, tap System and then Advanced and then System...
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