Вопрос

Using Worklight 5.0.5, I have issues with previewing my app in the Mobile Browser Simulator.

Once my app is deployed and I preview it in the MBS, nothing is displayed.
This occurs with every old and new project I create. Does anyone have an idea ? I didn't change my config at all.

This is the preview URL used:

localhost:8080/_MobileBrowserSimulator/index.html?webpage=../apps/services/preview/TestHybridApp/ipad/1.0/&platform=ios.ipad

Right now all I can do is preview as common resource, which doesn't take into account the changes I did.

Это было полезно?

Решение

Did not encounter this in 5.0.5.x, but try the following:

  1. Delete the native folder
  2. Close Eclipse
  3. Locate your temp folder (Windows, OS X)
  4. Delete the wlBuildResources and wlPreview folders
  5. Open Eclipse
  6. Re-build

If you have custom native code in your native\ folder, be sure to back it up.
More here (although it was written about Worklight 6.x, should work in 5.x...): Worklight 6.1 - "All Build" fails and gives java.lang.NullPointerException

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top