I'm having a problem opening a sencha touch 2 app on the iOS Simulator, the app doesn't finish loading. When I open the app on the google chrome (http://localhost/.../build/package), I see this problem on the console:
Uncaught Error: [Ext.Loader] Failed loading 'http://localhost/~vasconcelloslf/touch2-hello-world/build/package/sdk/src/log/Logger.js', please verify that the file exists
They told me at the Sencha 2 forum to set "logger":false
in this file sencha-touch-2.0.1.1-gpl/mand/src/module/generate/App/app.json.tpl
, but I still got the same error. Can someone help me ?
I'm having a problem opening a sencha touch 2 app on the iOS Simulator, the app doesn't finish loading. When I open the app on the google chrome (http://localhost/.../build/package), I see this problem on the console:
Uncaught Error: [Ext.Loader] Failed loading 'http://localhost/~vasconcelloslf/touch2-hello-world/build/package/sdk/src/log/Logger.js', please verify that the file exists
They told me at the Sencha 2 forum to set "logger":false
in this file sencha-touch-2.0.1.1-gpl/mand/src/module/generate/App/app.json.tpl
, but I still got the same error. Can someone help me ?
4 Answers
Reset to default 6In your Sencha app root directory, locate the file app.json. Almost all the way at the bottom, under "buildOptions" you will find
"logger": "no"
set this field to
"logger": false
Then try to rebuild your app with Sencha.
This can also be an AdBlock Plus fault:
Remove the "EasyPrivacy" list, and it works again. It blocks the Logger.js loading. Or: Add localhost or your development server to the whitelist (a good idea anyways!).
I had the same issue but changing logger to false alone doesn't helped me.
I could solve the problem by additionally removing requires : 'Ext.Logger'
from my classes.
I had the same issue and i changed it to "false" and rebuild everything from scratch and it worked... xcode 4.4.1 // phonegap 2 // sencha touch 2