‘Error parsing XML: no element found’ message in Eclipse Android project
Question:I have an Android project with Eclipse. When I click on the ‘Run’ toolbar icon, the Eclipse is building a file: main.out.xml and fails to run my app. The error message is: main.out.xml:1: error: Error parsing XML: no element found, or res/layout/main.xml:0: error: Resource entry main is already defined. My code is error free but I can’t build and run it. I can’t figure it out.
Continue reading ‘Error parsing XML: no element found’ message in Eclipse Android project
@try {
[self clear];
// There is only one record that matches the search criteria
self.listinfo = (dbmenulist *)[[dbmenulist class] findByCriteria: MENULIST_SQLQUERY(idmenulist)];
if( self.listinfo ){
[self fillItemsFor: idmenulist];
retc = YES;
}
}
@catch (NSException * e) {
NSLOG(@"loadFor: exception: %@", e.reason);
}
return retc;