Closed ip00 closed 10 years ago
Would love this, can't seem to find a single tool to support sketch 3
Hmm, I just checked, and the plugin should work with Sketch 3. One thing that has changed since version 2 is the location of the Sketch plugins directory. I just updated the Install section of the README with some notes about this.
However, let me know if you find any imcompatibilities and I'll do my best to resolve them.
I always get the same error log in console: "Support/com.bohemiancoding.sketch3/Plugins/Generate Android Assets.jstalk): TypeError: 'undefined' is not a function (evaluating 'page. allSlices()')". It seems that both slices and allSlices methods are unsupported at the moment.
I can't export anything from Sketch 3. Everything was working fine in 2, though. Plugin is installed correctly but Plugins > sketch-android-assets-master > Generate Android Assets > Open - does nothing. DIP to PX converter is working.
In Console log same as richardgazdik wrote:
30.04.14 17:19:26,841 Sketch[2448]: Sketch-Scripting Error on Line 46 (/Users/xx/Library/Application Support/com.bohemiancoding.sketch3/Plugins/sketch-android-assets-master/Generate Android Assets.jstalk): TypeError: 'undefined' is not a function (evaluating 'page. allSlices()')
The error message you mentioned suggests that this problem could have been resolved in #10 Mind trying to pull and see if that helps?
Do you plan to update this plugin for Sketch 3? Although there is better Export in Sketch 3 I would still use it. ETA?