Sencha Touch 2 Logger.js not found

I had a problem opening the sencha touch 2 application on iOS Simulator, the application does not finish the download. When I open the application on 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 on the Sencha 2 forum to set "logger":false in this file sencha-touch-2.0.1.1-gpl/command/src/module/generate/App/app.json.tpl , but I still got the same error . Can anybody help me?

+4
source share
4 answers

Locate the app.json file in the root directory of the Sencha application. Almost all the way down below, in the buildOptions section you will find

 "logger": "no" 

set this field to

 "logger": false 

Then try rebuilding the application using Sencha.

+6
source

This could also be an AdBlock Plus error:

Delete the "EasyPrivacy" list and it works again. It blocks the loading of Logger.js. Or: add the local host or your development server to the white list (in any case, a good idea!).

+3
source

I had the same problem, but I was not able to change the logger to false. I could solve the problem by additionally removing requires : 'Ext.Logger' from my classes.

+2
source

I had the same problem and I changed it to "false" and rebuilt everything from scratch and it worked ... xcode 4.4.1 // phonegap 2 // sencha touch 2

0
source

All Articles