문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top