反应本机twitter登录

时间:2016-11-29 14:56:46

标签: react-native react-native-android twitter-login

我安装了twitter login for react native,我在

上收到此错误
apply plugin: 'Crashlytics' from your library project. If you're looking for Library support, please contact support@fabric.io
:react-native-twitter-signin:generateReleaseResValues
:react-native-twitter-signin:generateReleaseResources
:react-native-twitter-signin:mergeReleaseResources
:react-native-twitter-signin:processReleaseResources
:react-native-twitter-signin:generateReleaseSources
:react-native-twitter-signin:incrementalReleaseJavaCompilationSafeguard
:react-native-twitter-signin:compileReleaseJavaWithJavac
:react-native-twitter-signin:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/khalidahmada/www/travelStory/node_modules/react-native-twitter-signin/android/src/main/java/com/goldenowl/twittersignin/TwitterSigninModule.java:32: error: TwitterSigninModule is not abstract and does not override abstract method onNewIntent(Intent) in ActivityEventListener
public class TwitterSigninModule extends ReactContextBaseJavaModule implements ActivityEventListener {
       ^
/Users/khalidahmada/www/travelStory/node_modules/react-native-twitter-signin/android/src/main/java/com/goldenowl/twittersignin/TwitterSigninModule.java:88: error: method does not override or implement a method from a supertype
    @Override
    ^
2 errors
:react-native-twitter-signin:compileReleaseJavaWithJavac FAILED

有关此错误的任何想法?我是JavaScript Developer,我不知道这个错误。

这是节点模块: react-native-twitter-signin

1 个答案:

答案 0 :(得分:0)

删除所选文件的@override。代码可以正常工作......