How to transfer Figma designs to Android Studio using Relay

I am having trouble importing my Figma mockups into Android Studio through the Relay plugin. Every time I try to paste my Figma project URL, I get an error message saying the link format is incorrect. The system expects URLs that begin with “https://www.figma.com/file” but all my workspace links start with “Free Design Tool for Websites, Product Design & More | Figma” instead. I have checked multiple projects in my Figma account and they all follow the same URL pattern with /design/ rather than /file/. Has anyone encountered this issue before? Are there any workarounds or different methods to successfully connect Figma prototypes with Android Studio? I really need to get this workflow working for my current project.

Yeah, this is a known bug since Figma changed their URL structure. The Relay plugin hasn’t caught up to the new /design/ format yet. Quick fix that’s worked for me - just change “/design/” to “/file/” in your Figma link before pasting it into Android Studio. The file ID stays the same, so everything still works. I’ve been doing this for months with no issues. You can also try the old Figma interface through legacy URLs, but that won’t be around much longer.