Hi,
We get the following error in versjon 5.1.8:
:react-native-svg:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/kimmartinsen/Projects/Entur/entur-clients/native/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/SvgView.java:50: error: cannot find symbol
private long mGestureStartTime = TouchEvent.UNSET;
^
symbol: variable UNSET
location: class TouchEvent
/Users/kimmartinsen/Projects/Entur/entur-clients/native/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/SvgView.java:124: error: method obtain in class TouchEvent cannot be applied to given types;
TouchEvent.obtain(
^
required: int,TouchEventType,MotionEvent,float,float,TouchEventCoalescingKeyHelper
found: int,TouchEventType,MotionEvent,long,float,float,TouchEventCoalescingKeyHelper
reason: actual and formal argument lists differ in length
/Users/kimmartinsen/Projects/Entur/entur-clients/native/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/SvgView.java:161: error: cannot find symbol
mGestureStartTime = TouchEvent.UNSET;
^
symbol: variable UNSET
location: class TouchEvent
/Users/kimmartinsen/Projects/Entur/entur-clients/native/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/SvgView.java:165: error: cannot find symbol
mGestureStartTime = TouchEvent.UNSET;
^
symbol: variable UNSET
location: class TouchEvent
4 errors
:react-native-svg:compileReleaseJavaWithJavac FAILED
Had to downgrade to 5.1.7 to have it working again
i can confirm that downgrading to 5.1.7 solves the problem
5.1.8 only support react-native>=0.44.0
Most helpful comment
5.1.8 only support react-native>=0.44.0