我试图使用https://github.com/facebook/react-native-fbsdk了最新的反应本地0.47.1但以下所有安装步骤后,我得到在Android以下编译错误:反应母语-fbsdk编译错误
/home/gerhard/Projects/bounzapp/node_modules/react-native-fbsdk/android/src/main/java/com/facebook/reactnative/androidsdk/FBSDKPackage.java:61: error: method does not override or implement a method from a supertype
@Override
^
任何想法可能会造成这种情况?
PS。 当我运行“react-native link”时,我也会得到以下内容,但这可能是因为我没有在Mac上运行,我必须稍后再确认一下。
[email protected]:~/Projects/bounzapp> react-native link
Scanning 680 folders for symlinks in /home/gerhard/Projects/bounzapp/node_modules (10ms)
rnpm-install info Android module react-native-fbsdk is already linked
rnpm-install info Linking react-native-fbsdk ios dependency
rnpm-install ERR! Something went wrong while linking. Error: Expected "/*", "//", or "{" but "<" found.
Please file an issue here: https://github.com/facebook/react-native/issues
Expected "/*", "//", or "{" but "<" found.
有你尝试了反应,本机fbsdk版本删除fbsdk包并重新安装它?你还需要重新运行链接 –