java - No resource found that matches the given name (at 'text' with value '@string/continue_label') -
let me start off saying i'm brand new android programming. i'm using pragmatic's hello android book (3rd edition). i'm working on popular sudoku game example, , after copying code book placed in main.xml file, following errors:
error: error: no resource found matches given name (at 'background' value '@color/background') . error: error: no resource found matches given name (at 'text' value '@string/main_title'). error: error: no resource found matches given name (at 'text' value '@string/continue_label'). error: error: no resource found matches given name (at 'text' value '@string/new_game_label'). error: error: no resource found matches given name (at 'text' value '@string/about_label'). error: error: no resource found matches given name (at 'text' value '@string/exit_label').
they're related, after doing searching, don't know problem is. suggestions?
error says everything.you have res folder resource string/image/layout can reside.so referencing resource not present.like referencing about_label string in string xml there no tag string about_label , value.see res->strings.check xml file , put resource trying use in program
Comments
Post a Comment