879479119 / react-native-shadow

A SVG shadow component powered with react-native-svg,which can provide shadow on Android like iOS ^_^

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: TouchEvent.obtain( <-

Lizhooh opened this issue · comments

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 个错误

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

Created a PR #13