In Figma added rectangle with rounded corners and a text over it. Created a component out of it and defined UI package in relay plugin (tap handler for the rectangle and text-content for the text.
Saved.
After importing UI package and trying to build I get the: Converting SVG files: Exception Converting SVG resources for component_1.
My gradle initially had " id ‘com.google.relay’ version ‘0.3.05’ " defined, this gave me this strange SVG error. I have reduced it to 0.3.00 and then got a less mysterious error where it stated that I need to configure my JAVA_HOME.
After I have set the JAVA_HOME on my windows in environment variables: C:\Program Files\Java\jre-1.8 (point to JRE or JDK) I cleaned and rebuilt the project and all was good.