Page 1 of 1

Build Error ' identifier is a reserved word debugger'

Posted: Thu Sep 25, 2014 11:15 pm
by Evolucion Ip

Hi I'm getting a problem when generating the apk file.
The builder retrieves the error:

'identifier is a reserved word debugger' so am I suposeed to delete all the debugger; function I've got on my project?
I've got other project witht his and I can generate the .apk files perfectly.

Can please anybody help?
Thanks


Build Error ' identifier is a reserved word debugger'

Posted: Fri Sep 26, 2014 5:06 am
by Yurii Orishchuk

Hi Evolucion,

It's reserved statement.

See details about it https://developer.mozilla.org/en-US/d...

So you can not call any variables/functions with this name.

Regards.


Build Error ' identifier is a reserved word debugger'

Posted: Fri Sep 26, 2014 6:36 am
by Evolucion Ip

I use it to debug my apps. It's used in all my projects and all of them can generate the apk file perfectly. It's a perfectly valid javascript statement debugger;

Why it only happens in this project?


Build Error ' identifier is a reserved word debugger'

Posted: Fri Sep 26, 2014 11:42 am
by Maryna Brodina

Hello!

We use forced by yui-compressor plugin minification for JS and CSS (Release builds). You need to use correct JS and CSS syntax for yui-compressor plugin. You can check compressing on http://refresh-sf.com/yui/ or any other external yui-compressor resources.


Build Error ' identifier is a reserved word debugger'

Posted: Fri Sep 26, 2014 3:29 pm
by Evolucion Ip

Does that mean we can not use debugger statement to debug our apps anymore? or better said that we need to delete them before trying to generate the apk files?

My other question is, why is this happening only in one of my projects? The rest of them can generate the apk files prefectly and they also have this debugger statement.


Build Error ' identifier is a reserved word debugger'

Posted: Fri Sep 26, 2014 5:05 pm
by Kateryna Grynko

Hello,

You can use it to debug in browser, just would need to delete before building ipa/apk.