I've just built an android app and when I install it on a tablet (Asus transformer Prime), it gets stuck on the loading screen. When I build the app on my windows machine using 'sencha app build production' and attempt to open that build, I get the error message:

Error evaluating <path of app.js> with message: TypeError: cannot call method 'getController' of undefined.

This app works fine if I don't try to build it. I've added console.logs in my two controllers and in the app.js launch function but it doesn't reach those points. Can't seem the fix it. Any ideas?

Any help will be greatly appreciated!