admin管理员组文章数量:1315377
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
本文标签: javascriptSencha Touch 2 Loggerjs not foundStack Overflow
版权声明:本文标题:javascript - Sencha Touch 2 Logger.js not found - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741974749a2408052.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论