IBM Worklight - Unable to load index.html in a Dojo app

我只是一个虾纸丫 提交于 2019-12-02 08:25:45
Idan Adar

Your step #4 is not needed and incorrect:

  • You should choose "Android Studio Project" only if you actually have Android Studio installed in your computer and if you actually intended on using it. Otherwise it will fail:

    Failed Running Android Studio: Specify location of Android Studio in Window->Preferences->Worklight

  • Choosing it anyway, is not what generates the Android project; After adding the Android environment to your application, the Android project is being auto-generated for you by Worklight Studio.

I have followed your steps in Worklight 6.1.0 and tested in both AVD and device, and could not reproduce.

Try the following steps and tell me the result:

  1. In Eclipse, press ctrl+3 (or cmd+3 if in Mac) and add the Dojo Library Requests view
  2. Press the "play"-like button to disable it (it is enabled by default)
  3. Re-build and deploy
  4. Re-run and test in the device
  5. Familiarize yourself with Dojo in Worklight: Working with the Dojo Library Project that serves Dojo resources
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!