sketch-android-assets icon indicating copy to clipboard operation
sketch-android-assets copied to clipboard

«Generate Android Assets» command is not working in latest beta build

Open exevil opened this issue 10 years ago • 4 comments

Sketch Version 3.1.1 (8761)

exevil avatar Oct 10 '14 14:10 exevil

Yep, the console throws this error:

T Type Error: 'undefined' is not a function (evaluating 'log("No config file found")')

» log("No config file found"); «

Generate Android Assets.jstalk, Line: 54
16:07:48.782: Generate Android Assets.jstalk - Script executed in 36 ms

mrrocks avatar Nov 03 '14 16:11 mrrocks

Well this is weird; log is supposed to be a built-in in Sketch. What happens if you insert a comment mark // at the start of that line?

zmalltalker avatar Nov 04 '14 07:11 zmalltalker

Mmm interesting, apparently it has something to do with having installed Sketch Devtools https://github.com/turbobabr/sketch-devtools When removed, it works again.

mrrocks avatar Nov 04 '14 10:11 mrrocks

Hi mrrocks!

I'm the author of Sketch DevTools and looking for your help to track this bug since I can't replicate it myself.

There is an open issue in the project: https://github.com/turbobabr/sketch-devtools/issues/24

There are several comments there marked as "Experiment...", "Quesionts...", etc. Could you please conduct these experiments and answer the questions? The most important question is in which version of the Sketch it happens.

turbobabr avatar Nov 05 '14 04:11 turbobabr