IBM Worklight 6.0 - scriptError in dojo.js:21

2020-02-15 08:14发布

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条回答
淡お忘
2楼-- · 2020-02-15 08:55
登录 后发表回答