sencha getting started tutorial package(apk) stuck on load screen
sencha getting started tutorial package(apk) stuck on load screen
Hi guys,
I am new to sencha touch.I am just learning sencha and followed the doc for "building your first app(http://docs.sencha.com/touch/2-0/#!/guide/first_app)".Everything is fine and it works in my localhost server.Then i tried the apk building tutorial(http://docs.sencha.com/touch/2-0/#!/...native_android) so as to test what it's looks like to build .apk package and test in my mobile(xperia arc 4.0.4).With many hassels i managed to build the "debug" package without any error.Then i installed that apk in my mobile but it just stuck on first loading screen of the tutorial with blue background and white circles flicking.You can download the apk file here https://www.box.com/s/2f27ac18346baf676a19 if you want,unzip it.Can anyone know what went wrong in apk? The app is running fine in localhost server but is stuck when installing in mobile and run the app.
Thankx for the reply.I checked on my localhost and there was no error.I tried a simple test package with only home page of getting started tutorial.It worked fine localhost but when in packaged and installed in my mobile,it just stuck on load screen as i mentioned above.Can you see my apk and tell what's wrong with it?Just want to build simple native app so that i can get to know sencha.
This generally happens to me when I have a JS error like Mitchell said. One thing you will want to try is to run a "sencha app build production" and point your localhost to THAT instead and see if there are any errors. Most likely, you are having the logger bug that everyone else is complaining about. Edit your app.json and under "buildOptions" change "logger": "no" to "logger": false or to "logger": "yes" and see if that helps at all.
What version of the SDK and CMD are you using? Make sure it's the latest one (ST2.1rc2 and CMD3.0.0.230) because it might eliminate a lot of your problems...