私は Java と Eclipse の初心者です。/res/layout の下に 2 つのレイアウト ファイルがあります。
activity_main.xml:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<include layout="@layout/layoutTst" />
</LinearLayout>
layout_test.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/layoutTst"
android:orientation="vertical" >
</LinearLayout>
「include」部分でコンパイルしようとすると、次のメッセージが表示されます。
Description Resource Path Location Type error: Error: No resource
found that matches the given name (at 'layout' with value
'@layout/layoutTst'). activity_main.xml /YouSherlock/res/layout line
6 Android AAPT Problem
では、何が問題なのですか?