匹配这是我about.xml文件,该文件是布局文件有关android中xml文件的错误。没有资源的发现,给定名称@Text
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/about_text"
android:id="@+id/abouttextview"></TextView>
</ScrollView>
这是一个包含了该事项有关按钮被点击时显示的strings.xml文件
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, Hangman!</string>
<string name="app_name">Android Hangman</string>
<string name="about_text">Hangman is the classic game that has
players
trying to guess their opponent's mystery word first--and
before
getting hanged. For every wrong letter chosen, a bit more
of the hangman is exposed.</string>
<string name="about_title">About Android Hangman</string>
</resources>
我在使用Android变得错误:about.xml话没有资源发现的文本= @字符串/ about_Text行给定的名字
我检查了你的所有代码,它的工作正常。只需替换特殊字符并将\放在撇号之前。清理你的项目并保存。 – itsrajesh4uguys 2013-04-27 07:04:03
@ itsrajesh4uguys-仍然收到da同样的错误 – 2013-04-27 07:51:54