While this message is not really something that will affect your web app, people like me tend to see warning messages as annoying and as such will go to great lengths to find a solution that will avoid having this warning message appear in the console.
The sample below indicates an Ext.Label declaration is missing.
<strong><span style="color: #0000ff;">[WARN][Anonymous][Ext.Loader]Synchronously loading'Ext.Label';consider adding'Ext.Label'explicitly asarequire of the corresponding class</span></strong>
To fix this, all you need to do is go to app.js and add this class in the requires field.
This was annoying. The Sencha Touch documentation is really bad. I wanted to display data through XML instead of their preferred JSON option. Sure, it is possible but what the samples and even those in the forums failed to show is the one thing that will make it work.
The solution is the keyword mapping in a model class.
The field names are different than the tag names in the XML where case sensitivity is the factor. If your XML looks like this …
And in your model class your field name is specified as
Then when you load the XML data into the store’s reader, the field values will always return null.
In order for this to work, you will have to include the mapping attribute in the model class and declare the XML tag there (see code below).