react-native-copilot
react-native-copilot copied to clipboard
Execution failed for task ':react-native-svg:compileDebugJavaWithJavac'.
Current Behavior
I ran following comments for setup,
npm i react-native-copilot
npm i react-native-svg
react-native link react-native-svg
everything fine, but I'm getting build time error.
Task :react-native-svg:compileDebugJavaWithJavac FAILED /Users/mahendran.m/workspace/ekart-stormtrooper/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RenderableViewManager.java:100: error: cannot find symbol START, ^ symbol: variable START location: class RenderableViewManager.RenderableShadowNode /Users/mahendran.m/workspace/ekart-stormtrooper/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RenderableViewManager.java:101: error: cannot find symbol END, ^ symbol: variable END location: class RenderableViewManager.RenderableShadowNode /Users/mahendran.m/workspace/ekart-stormtrooper/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RenderableViewManager.java:119: error: cannot find symbol MARGIN_START, ^ symbol: variable MARGIN_START location: class RenderableViewManager.RenderableShadowNode /Users/mahendran.m/workspace/ekart-stormtrooper/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RenderableViewManager.java:120: error: cannot find symbol MARGIN_END, ^ symbol: variable MARGIN_END location: class RenderableViewManager.RenderableShadowNode /Users/mahendran.m/workspace/ekart-stormtrooper/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RenderableViewManager.java:130: error: cannot find symbol PADDING_START, ^ symbol: variable PADDING_START location: class RenderableViewManager.RenderableShadowNode /Users/mahendran.m/workspace/ekart-stormtrooper/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RenderableViewManager.java:131: error: cannot find symbol PADDING_END, ^ symbol: variable PADDING_END location: class RenderableViewManager.RenderableShadowNode /Users/mahendran.m/workspace/ekart-stormtrooper/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RenderableViewManager.java:134: error: cannot find symbol BORDER_START_WIDTH, ^ symbol: variable BORDER_START_WIDTH location: class RenderableViewManager.RenderableShadowNode /Users/mahendran.m/workspace/ekart-stormtrooper/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RenderableViewManager.java:135: error: cannot find symbol BORDER_END_WIDTH, ^ symbol: variable BORDER_END_WIDTH location: class RenderableViewManager.RenderableShadowNode Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 8 errors
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':react-native-svg:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Expected behavior/code no build error
Environment
- Device: [e.g. Android Simulator]
- OS: Android 9.0
-
react-native-copilot
: "^2.4.4" -
react-native
: "0.59.9", -
react-native-svg
: "^9.5.1"