I'm following the tutorial: https://www.ibm.com/developerworks/library/mo-android-mobiledata-app/index.html
When the application starts, it is blocked inmediately and stops running.
In the activity information channel appears the following information:
An instance of the app has been blocked: 2 error(s) occurred: * 2 error(s) occurred: * Exited with stat...
I have left everything by default, and I tried in different regions (US South, UK, ..) and the behavior is the same...
I do not know what the problem is.
Regards
I was able to recreate the issue. The error I get in the logs is this:
This is error is caused because ES6 is not enabled by default in Node.js 0.12. As @pradeep sg said, that blog post and the starter are fairly out of date. If you look at the code of the starter, it is specifying Node version 0.12 in the package.json.
https://github.com/ibm-bluemix-mobile-services/bms-hellotodo-strongloop
To fix this for your local environment, download the starter code, and modify the package.json as follows:
Then do a
bx cf pushto redeploy, so it uses a newer engine of Node.After I did that, it worked:
If you want to look for the latest content being produced from the Mobile team, check out their Dashboard here on Bluemix:
https://console.bluemix.net/developer/mobile/dashboard
That will provide the newest starter kits, demos, blogs, and content that they're releasing.
I will notify them about this issue so the deploy works correctly.