Topic
3 replies Latest Post - ‏2012-12-12T18:32:15Z by Vinny
Vinny
Vinny
9 Posts
ACCEPTED ANSWER

Pinned topic Sencha query

‏2012-12-10T18:21:21Z |
Hi,
I use Worklight version 5.0.0.270 devel to create a Sencha application. The sample Worklight Sencha Starter app from the library works fine. When I try modifying and creating a new app. I get the below error on and Android 2.2 emulators. Reference Error: Can't find variable: Ext at file:///data/data/com.SampleApp/files/www/default/js/SampleApp.js :12
On AVD 2.3.3 when I execute I get the error VM aborting. I have used the similar sencha-touch.js and sencha-touch.css as available on the WorklightSenchaStarter app. Also attaching the log.txt(LogCat). Thanks for any help.

Attachments

  • IdanAdar
    IdanAdar
    741 Posts
    ACCEPTED ANSWER

    Re: Sencha query

    ‏2012-12-10T18:33:19Z  in response to Vinny
    Not sure at the moment regarding the ext error, however Android AVDs running Android 2.3.x will fail due to a Google-document bug in the Emulator, so use either 2.2 or 3.0 and above.

    Idan Adar
    QA Engineer
    IBM Worklight Mobile Platform
  • Vinny
    Vinny
    9 Posts
    ACCEPTED ANSWER

    Re: Sencha query

    ‏2012-12-10T18:36:02Z  in response to Vinny
    Enclosing the sample which I am testing.
    • Vinny
      Vinny
      9 Posts
      ACCEPTED ANSWER

      Re: Sencha query

      ‏2012-12-12T18:32:15Z  in response to Vinny
      Yes it worked. I tried the Sencha Touch sample on AVD 3.0 and it works fine. I also tried installing on a real device with Android 2.3.6 and it worked there too. But it displayed a blank white screen if I installed on a 2.2.1 version of the device.