error: Error: No resource found that matches the given name (at 'text' with value

写按钮呢写不出来<Buttonandroid:layout_width="fill_parent"android:layout_height="wrap_content"... 写 按钮呢写不出来
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/new_game_label"
/>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/about_label"
/>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/exit_label"
/>
老出现上面的错误怎么回事啊? 拜求高手
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Sudoku</string>
<string name="main_title">Android Sudoku</string>
<string name="continue_label">Continue</string>
<string name="new_game_lable">New_Game</string>
<string name="about_lable">About</string>
<string name="exit_lable">Exit</string>
</resources>

显示错误error: Error: No resource found that matches the given name (at 'text' with value
'@string/new_game_label').
展开
 我来答
ixp23xx
推荐于2018-03-15
知道答主
回答量:4
采纳率:0%
帮助的人:0
展开全部
text字符串未定义

在/res/values/strings.xml 添加上你问题里面补充的内容就可以了啊
本回答被网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
杨卓烨
2012-09-12 · 超过32用户采纳过TA的回答
知道答主
回答量:239
采纳率:0%
帮助的人:113万
展开全部
exit_label 和 exit_lable 不一样的 ,其他的类似
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式