Friday, 16 August 2013

dojo script.js:21 error while deploying dojo application in IBM worklight

dojo script.js:21 error while deploying dojo application in IBM worklight

Someone please help me with this, i am really depressed right now, i
created my first app to show some HTML on IBM worklight. Here's what i did
1) created a new project added navigation , dojo views and some such stuff
2) deployed it , previewed it 3) working fine in console as well as mobile
browser simulator but not in avd or device 4)googled about this error, the
only clear info i got was to uncheck the dojo library requests option from
the console now i did that and the before and after results are here
provided in case you want to see them, the only error i got in logcat(red
colored flags: not sure if errors or warning as some people on google said
they can be ignored but still here they are -)



08-16 17:14:52.306: E/Web Console(586): Error: scriptError at
file:///data/data/com.htmlProj/files/www/default/dojo/dojo.js:21 08-16
17:14:52.327: D/CordovaLog(586): Error: scriptError 08-16 17:14:52.327:
E/Web Console(586): Error: scriptError at
file:///data/data/com.htmlProj/files/www/default/dojo/dojo.js:21



And here are the snapshots of console, MBS, and device before unchecking
the dojo library requests -



and here are the screenshots after unchecking the provide library requests -
and the MBS and the console look the same, now you can see that the device
and the avd show something now , but yet they dont navigate to different
pages , dont show the bottom toolbar, i dont know any help please i am so
so so troubled by this right now....

No comments:

Post a Comment