Question

I have developed a mobile application using IBM Worklight v6 with the Android environment.

After generating the .apk file, I have tried to access the app with my android 4.0 device. I didn't get the expected outcome - the app failed to load.

Looking the error log which displayed on mobile, I now understand that I need to change wlServerHost value in my wlclient.properties.

By default, wlServerHost is set to my localhost ip address.
How to change this?

Was it helpful?

Solution

In Worklight Studio, right click on your app, click on Run As--> Build for Remote server and provide the IP address and context root of your Worklight server. This will take care of making the appropriate changes to wlclient.properties.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top