879479119 / react-native-shadow

A SVG shadow component powered with react-native-svg,which can provide shadow on Android like iOS ^_^
MIT License
610 stars 82 forks source link

Error: TouchEvent.obtain( <- #12

Closed Lizhooh closed 7 years ago

Lizhooh commented 7 years ago

react-native run-android BUILD FAILED

React Native 0.44

react-native-svg\android\src\main\java\com\horcrux\svg\SvgView.java:130: 错误: 无法将类 TouchEvent中的方法 obtain应用到给定类型;
            TouchEvent.obtain(
                      ^
  需要: int,TouchEventType,MotionEvent,long,float,float,TouchEventCoalescingKeyHelper
  找到: int,TouchEventType,MotionEvent,float,float,TouchEventCoalescingKeyHelper
  原因: 实际参数列表和形式参数列表长度不同
1 个错误
dorufurtuna commented 7 years ago

The problem was solved in latest version of @react-native-svg. You can just install it manually with npm install react-native-svg --save.

dorufurtuna commented 7 years ago

Created a PR #13