Sencha touch always has a white screen, mainly because of xmlhttprequest cannotloadfile:///e:/sencha-touch-2.0.0-pr1/src/panel.js? _dc=1380368900153. Cross origin requests are only supported for HTTP.

  android, question

When I saw a lot of browser problems, I didn’t know what it was. The whole sencha touch2 could not be realized, and there was a white screen.

GET file:///E:/sencha-touch-2.0.0-pr1/test/sencha-touch-debug.css
 XMLHttpRequest cannot load file:///E:/sencha-touch-2.0.0-pr1/src/Panel.js?  _dc=1380368900153. Cross origin requests are only supported for HTTP. sencha-touch-debug.js:7381
 Ext.apply.loadScriptFile sencha-touch-debug.js:7381
 Ext.apply.require sencha-touch-debug.js:7559
 Ext.apply.syncRequire sencha-touch-debug.js:7421
 (anonymous function) sencha-touch-debug.js:3130
 Ext.ClassManager.instantiate sencha-touch-debug.js:6131
 (anonymous function) sencha-touch-debug.js:3130
 Ext.application.launch app.js:8
 Ext.define.onBeforeLaunch Application.js?  _dc=1380368899665:227
 Ext.apply.onDocumentReady sencha-touch-debug.js:8609
 fn sencha-touch-debug.js:7671
 Ext.apply.onReady sencha-touch-debug.js:7676
 Ext.onReady sencha-touch-debug.js:7731
 Ext.define.constructor Application.js?  _dc=1380368899665:152
 Class sencha-touch-debug.js:4917
 config.onReady sencha-touch-debug.js:8273
 Ext.apply.onDocumentReady sencha-touch-debug.js:8609
 fn sencha-touch-debug.js:7671
 Ext.apply.triggerReady sencha-touch-debug.js:7650
 (anonymous function) sencha-touch-debug.js:3116
 Ext.apply.refreshQueue sencha-touch-debug.js:7265
 Ext.apply.refreshQueue sencha-touch-debug.js:7266
 Ext.apply.onFileLoaded sencha-touch-debug.js:7594
 (anonymous function) sencha-touch-debug.js:3116
 onLoadFn
 Uncaught TypeError: object is not a function
 (anonymous function)
 Ext.ClassManager.instantiate sencha-touch-debug.js:6137
 (anonymous function) sencha-touch-debug.js:3130
 Ext.application.launch app.js:8
 Ext.define.onBeforeLaunch Application.js?  _dc=1380368899665:227
 Ext.apply.onDocumentReady sencha-touch-debug.js:8609
 fn sencha-touch-debug.js:7671
 Ext.apply.onReady sencha-touch-debug.js:7676
 Ext.onReady sencha-touch-debug.js:7731
 Ext.define.constructor Application.js?  _dc=1380368899665:152
 Class sencha-touch-debug.js:4917
 config.onReady sencha-touch-debug.js:8273
 Ext.apply.onDocumentReady sencha-touch-debug.js:8609
 fn sencha-touch-debug.js:7671
 Ext.apply.triggerReady sencha-touch-debug.js:7650
 (anonymous function) sencha-touch-debug.js:3116
 Ext.apply.refreshQueue sencha-touch-debug.js:7265
 Ext.apply.refreshQueue sencha-touch-debug.js:7266
 Ext.apply.onFileLoaded sencha-touch-debug.js:7594
 (anonymous function) sencha-touch-debug.js:3116
 onLoadFn sencha-touch-debug.js:7284

Xmlhttpger is not allowed locally