React-native-interactable: error: method does not override or implement a method from a supertype @Override

Created on 22 Aug 2017  路  6Comments  路  Source: wix/react-native-interactable

I am in progress of upgrading to React Native 0.47.2, but I can't make the app run on Android. This is the error message I get.

:react-native-interactable:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/nonameolsson/Development/Work/Alterview.OpusApp/node_modules/react-native-interactable/lib/android/src/main/java/com/wix/interactable/Interactable.java:19: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
:react-native-interactable:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

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

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

settings.gradle

rootProject.name = 'OpusApp'
include ':react-native-interactable'
project(':react-native-interactable').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-interactable/lib/android')
include ':react-native-code-push'
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')
include ':mobile-center'
project(':mobile-center').projectDir = new File(rootProject.projectDir, '../node_modules/mobile-center/android')
include ':mobile-center-push'
project(':mobile-center-push').projectDir = new File(rootProject.projectDir, '../node_modules/mobile-center-push/android')
include ':react-native-i18n'
project(':react-native-i18n').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-i18n/android')
include ':mobile-center-crashes'
project(':mobile-center-crashes').projectDir = new File(rootProject.projectDir, '../node_modules/mobile-center-crashes/android')
include ':mobile-center-analytics'
project(':mobile-center-analytics').projectDir = new File(rootProject.projectDir, '../node_modules/mobile-center-analytics/android')
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
include ':react-native-device-info'
project(':react-native-device-info').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-device-info/android')
include ':react-native-config'
project(':react-native-config').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config/android')

include ':app'

package.json

...
    "react-native-interactable": "^0.1.1",
    "react-native": "0.47.2",
    "react": "16.0.0-alpha.12",
...

Most helpful comment

All 6 comments

@cdab-andreas whats the solution , please tell.

@nonameolsson is it solved for you?

@yash2code Yeah, with the fix linked in https://github.com/wix/react-native-interactable/issues/132

This issue is still present in [email protected]

131

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elanpang picture elanpang  路  5Comments

yash2code picture yash2code  路  7Comments

TomAtterton picture TomAtterton  路  3Comments

yoavrofe picture yoavrofe  路  4Comments

motiazu picture motiazu  路  5Comments