Failed to install and build
devken-net opened this issue · comments
Ken commented
First I try to link it via rnpm
and react-native link
.
Then it failed and I try to manually install it following your instructions and still got this error.
"react-native": "0.44.0",
"react-native-shadow": "^1.1.2",
/myNewApp/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/SvgView.java:130: error: method obtain in class TouchEvent cannot be applied to given types;
TouchEvent.obtain(
^
required: int,TouchEventType,MotionEvent,long,float,float,TouchEventCoalescingKeyHelper
found: int,TouchEventType,MotionEvent,float,float,TouchEventCoalescingKeyHelper
reason: actual and formal argument lists differ in length
1 error
:react-native-svg:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.