IBM Worklight 6.0 - scriptError in dojo.js:21

和自甴很熟 提交于 2019-12-18 09:49:41

问题


I have created a simple application using the bundled Dojo v1.9 and upon running it device or emulator, I am getting the following error:

07-08 05:38:17.429: E/Web Console(530): Error: scriptError at file:///data/data/com.WorklightApp/files/www/default/dojo/dojo.js:21

These are the steps that I took:

  1. Create a Worklight project and application (with Dojo)
  2. Add a simple dojo tag on the main page
  3. Add the Android environment
  4. Build All and Deploy
  5. Run on device and/or emulator

The dojo components will not appear; instead I get the above mentioned error.
The application does however work correctly when previewed in Worklight Console.

Is there anything that I must do in Worklight v6.0 to make it work?


回答1:


See if any of the following answers to questions about the same issue help you out:

  • IBM Worklight 6.0 - Unable to run sample hybrid worklight app using dojo toolkit for android environment on avd?
  • Worklight core-web-layer.js errors


来源:https://stackoverflow.com/questions/17603370/ibm-worklight-6-0-scripterror-in-dojo-js21

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!