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

このコードを使用して、Android でテキストを表示しました。しかし、エラーが表示されます。どうすれば解決できますか

4

1 に答える 1

2

string.xml でウェルカム文字列を宣言していますか。@string/Welcomestring.xmlのように大文字を使用しないでください。を使用し@string/welcomeます。

于 2013-06-15T06:54:34.327 に答える