Closed Lizhooh closed 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 个错误
The problem was solved in latest version of @react-native-svg. You can just install it manually with npm install react-native-svg --save.
npm install react-native-svg --save
Created a PR #13
react-native run-android BUILD FAILED
React Native 0.44