Export assets for Android, iOS, Windows Phone in Sketch.
The actual location of your Sketch plugins directory will vary. To open it just click on the Reveal Plugins Folder
under the Plugins
menu in sketch.
Run following command after going to the sketch plugins folder:
git clone [email protected]:varunyellina/sketch-export-assets.git
OR
Click on Download ZIP
on the right and extract it to the sketch plugins folder.
You'll find this plugin's functions under the Plugins menu in Sketch.
The plugin assumes you design your android layouts in mdpi
, which means 1px = 1dp
- iOS Export:
ctrl + cmd + i
- Android Export:
ctrl + cmd + a
- Android MIPMAP Export:
ctrl + cmd + l
- Windows Export:
ctrl + cmd + w
- 1x Export:
ctrl + cmd + 1
This plugin is a modified version of GeertWille's project sketch-export-assets which was originally an extension of zmaltalker's project sketch-android-assets