带有本机0.60.4的新FBSDKPackage()错误

时间:2019-08-02 19:37:13

标签: react-native react-native-fbsdk

react-native info结果 info Fetching system and libraries information... System: OS: Windows 10 CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz Memory: 1.48 GB / 7.90 GB Binaries: Node: 10.15.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.10.2 - C:\Program Files\nodejs\npm.CMD IDEs: Android Studio: Version 3.4.0.0 AI-183.6156.11.34.5692245

版本: "react-native": "0.60.4", "react-native-fbsdk": "^0.10.1"

错误:  android\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:80:error: constructor FBSDKPackage in class FBSDKPackage cannot be applied to given types;

new FBSDKPackage(),
^
required: CallbackManager
found: no arguments
reason: actual and formal argument lists differ in length
1 error
FAILURE: Build failed with an exception.

按照以下链接进行安装 https://github.com/facebook/react-native-fbsdk#installation

0 个答案:

没有答案