- Notifications
You must be signed in to change notification settings - Fork 213
Open
Description
Hello,
Building for Android is failing in a fresh project with the following message:
:react-native-oauth:compileReleaseJavaWithJavac :react-native-oauth:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). /home/desk/dev/gistreader/node_modules/react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerPackage.java:39: error: method does not override or implement a method from a supertype @Override ^ Note: /home/desk/dev/gistreader/node_modules/react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerDialogFragment.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error :react-native-oauth:compileReleaseJavaWithJavac FAILED
Commenting the @Override
in node_modules/react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerPackage.java
createJSModules
method makes the build succeed:
// @Override public List<Class<? extends JavaScriptModule>> createJSModules() { return Collections.emptyList(); }
Versions:
react-native
: 0.48.1
react-native-oauth
: ^2.2.0
pavsidhu, kylekellogg, kengorab, SailingSteve, kennethnym and 9 moreparveen-chhillar
Metadata
Metadata
Assignees
Labels
No labels