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

Remove @Override from CouchBasePackage.java #14

Open
tusharvikky opened this issue May 4, 2018 · 0 comments
Open

Remove @Override from CouchBasePackage.java #14

tusharvikky opened this issue May 4, 2018 · 0 comments

Comments

@tusharvikky
Copy link

Hello,

I tried setting the package onto my react-native project but Android app failed with error:

/Users/tushardeo/Sites/project/node_modules/react-native-couchbase/android/src/main/java/com/CouchBase/CouchBasePackage.java:20: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: /Users/tushardeo/Sites/project/node_modules/react-native-couchbase/android/src/main/java/com/CouchBase/CouchBase.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
:CouchBase:compileReleaseJavaWithJavac FAILED

Removing https://github.com/Upinion/react-native-couchbase-lite/blob/master/android/src/main/java/com/CouchBase/CouchBasePackage.java#L20 fixes it.

@tusharvikky tusharvikky changed the title Remove @Override from Packer Remove @Override from CouchBasePackage.java May 4, 2018
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

1 participant