Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after react-native run-android. #1

Open
alex44jzy opened this issue Feb 9, 2017 · 2 comments
Open

Error after react-native run-android. #1

alex44jzy opened this issue Feb 9, 2017 · 2 comments

Comments

@alex44jzy
Copy link

I have install and link this component via npm. After that, I run the test app via CMD react-native run-android and it stopped with the error:
customkeyboard
I recognize the react-native-custom-keyboard package the React Native version is 0.29.0. I also init the react native test project in 0.29.0. It also occur this error. Can you please check this error.

@taranda
Copy link

taranda commented Nov 3, 2017

I get the same error:

:react-native-custom-keyboard:compileReleaseJavaWithJavac
:react-native-custom-keyboard:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/dev3/workspace/ATC-Mobile/node_modules/react-native-custom-keyboard/android/src/main/java/cn/reactnative/customkeyboard/RNCustomKeyboardPackage.java:20: error: method does not override or implement a method from a supertype
    @Override
    ^
1 error
:react-native-custom-keyboard:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-custom-keyboard:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

This is with react 16.0.0-alpha.12 and react-native 0.48.3

Any help would be appreciated.

@sunnylqm
Copy link

sunnylqm commented Nov 4, 2017

@taranda Just remove that @Override and rebuild

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants