Question

I'm using worklight 6.1 for my mobile app project. Why do I get this error message when preview in Eclipse?

Error message:

[ERROR   ] FWLSE0020E: Ajax request exception: The application 'example' with version=1.0 does not support the android environment [project example]

[ERROR   ] FWLSE0117E: Error code: 1, error description: INTERNAL_ERROR, error message: FWLSE0069E: An internal error occurred during gadget request  [project example]The application 'example' with version=1.0 does not support the android environment, User Identity {SubscribeServlet=null, wl_authenticityRealm=null, wl_remoteDisableRealm=null, SampleAppRealm=null, wl_antiXSRFRealm=null, wl_deviceAutoProvisioningRealm=null, WorklightConsole=null, wl_deviceNoProvisioningRealm=null, wl_anonymousUserRealm=null}. [project example]

com.worklight.common.log.filters.ErrorFilter
Was it helpful?

Solution

Your project works perfectly fine for me in Worklight 6.1.0.

I've created a new Eclipse workspace and imported the project into it.
I then:

  • Right-clicked on the adapter folder ("UserId") and chose Run As > Deploy Worklight adapter
  • Right-clicked on the application folder ("WokrlightMobile") and chose Run As > Run on Worklight Development Server

I continued to load to the Worklight Console, clicked on the Android preview icon and application loaded in the MBS. I also received a "success" dialog from the adapter.


Try in a fresh workspace.

OTHER TIPS

I solved the issue by increasing the version number of both the Android and iPhone app.

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