所以我最近(像今天最近)开始尝试在日食工作.我一直在追踪

android开发者初学者课程,一切顺利,直到这一点.我已经建立了一个简单的用户界面(

http://developer.android.com/training/basics/firstapp/building-ui.html#Button),并做了一切话,但是当我尝试运行它说,

No resource found that matches the given name (at ‘title’ with value ‘@string/action_settings’).

我回去检查一切,我做了一切,他们解释,它仍然这样做?我是一个总的noob,所以也许我只是错过了一些东西,但我不知道什么.我重新启动了eclipse,它仍然不会运行该应用程序,并说百万次我有一个错误.

这是我的设计表:

在layout_main.xml中

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:orientation="horizontal">

android:layout_weight="1"

android:layout_width="0dp"

android:layout_height="wrap_content"

android:hint="@string/edit_message" />

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="@string/button_send" />

在价值观

string.xml

My First App

Enter a message

Send

Settings

MainActivity

这就是我搞砸了.我没看到问题?

我错过了什么吗?

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐