I’m creating a Android app with Eclipse, PhoneGap and using Sencha Touch for the assets\www files
However when I try to run the application I get this error from logcat:
09-11 14:11:01.019: E/Web Console(4700): Uncaught ReferenceError: Ext is not defined at file:///android_asset/www/app.js:16
Although I have placed:
- assets\www\sencha-touch.js
- assets\www\sencha-touch.css
I copied from my sencha-touch-2.0.1.1 folder
What other things I need to place in the assets\www folder?
It’s really weird because when I run the Sencha Touch app from within my desktop the mobile apps works fine with Google Chrome and Firefox, so I am not really sure what’s happening.
This is the default folder the SDK expects to contain the complete set of JS, CSS, and HTML files.
You need to also keep phonegap.js in www folder
Also try copying resources form Sencha-touch-2.0.1.1 folder and also sencha-touch-debug.js(not necesary).