RedMadRobot / figma-export

Command line utility to export colors, typography, icons and images from Figma to Xcode / Android Studio project
MIT License
726 stars 114 forks source link

Export Images For Android Studio #48

Closed greatmatis closed 3 years ago

greatmatis commented 3 years ago

This error occurs when exporting images:

figma-export images
2020-12-02T22:08:10+0700 info: Using FigmaExport to export images to Android Studio project.
2020-12-02T22:08:10+0700 info: Fetching images info from Figma. Please wait...
2020-12-02T22:08:23+0700 info: Processing images...
2020-12-02T22:08:23+0700 info: Downloading remote files...
2020-12-02T22:08:23+0700 info: Converting PNG files to WebP...
2020-12-02T22:08:23+0700 info: Writting files to Android Studio project...
Error: Error Domain=NSCocoaErrorDomain Code=4 "“7DC58CEB-19F9-42BB-A4AD-75AE0025FBB7” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/var/folders/mh/lv6z_kq129b34xc4wzrpyf340000gn/T/7DC58CEB-19F9-42BB-A4AD-75AE0025FBB7, NSUnderlyingError=0x7fd35bd2c690 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
subdan commented 3 years ago

Which version of figma-export do you use?

Run figma-export --version or brew info figma-export to get current version.

subdan commented 3 years ago

I've fixed this issue in the latest version. Please update using brew upgrade figma-export.

greatmatis commented 3 years ago

My bad. Was using old version. 0.18.4 works perfect. Thanks!