0
    <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/Welcome" />

我已经使用此代码在 Android 中显示文本。但它显示一个错误。我该如何解决这个问题

4

1 回答 1

2

Have you declare welcome string in string.xml. Don't use Capital letters like @string/Welcome in string.xml. Use @string/welcome.

于 2013-06-15T06:54:34.327 回答