After installation when I try to build and run on android device I see:
...
:react-native-directed-scrollview:processReleaseResources
:react-native-directed-scrollview:generateReleaseSources
:react-native-directed-scrollview:incrementalReleaseJavaCompilationSafeguard
:react-native-directed-scrollview:compileReleaseJavaWithJavac
:react-native-directed-scrollview:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/home/default/projects/react-native/AwesomeProject/node_modules/react-native-directed-scrollview/android/src/main/java/com/rnds/DirectedScrollView.java:161: error: no suitable method found for emitScrollEvent(DirectedScrollView)
ReactScrollViewHelper.emitScrollEvent(this);
^
method ReactScrollViewHelper.emitScrollEvent(ViewGroup,float,float) is not applicable
(actual and formal argument lists differ in length)
method ReactScrollViewHelper.emitScrollEvent(ViewGroup,ScrollEventType) is not applicable
(actual and formal argument lists differ in length)
method ReactScrollViewHelper.emitScrollEvent(ViewGroup,ScrollEventType,float,float) is not applicable
(actual and formal argument lists differ in length)
/home/default/projects/react-native/AwesomeProject/node_modules/react-native-directed-scrollview/android/src/main/java/com/rnds/DirectedScrollView.java:166: error: method emitScrollEndDragEvent in class ReactScrollViewHelper cannot be applied to given types;
ReactScrollViewHelper.emitScrollEndDragEvent(this);
^
required: ViewGroup,float,float
found: DirectedScrollView
reason: actual and formal argument lists differ in length
/home/default/projects/react-native/AwesomeProject/node_modules/react-native-directed-scrollview/android/src/main/java/com/rnds/DirectedScrollViewPackage.java:20: error: method does not override or implement a method from a supertype
@Override
^
Note: /home/default/projects/react-native/AwesomeProject/node_modules/react-native-directed-scrollview/android/src/main/java/com/rnds/DirectedScrollViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
:react-native-directed-scrollview:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
...
After installation when I try to build and run on android device I see:
My environment:
Any ideas what is wrong?