make sure class name exists, is public, and has an empty constructor that is public
エラー
make sure class name exists, is public, and has an empty constructor that is public
クラス名とフラグメントのクラス名が一致していなかった。
Class name and class name of the fragment did not match.
public class FragCat extends Fragment {<=ここのクラス名 …略… }
<fragment android:name="com.android.app.FragCat1" <=ここのクラス名 android:id="@+id/frag_code" android:layout_width="match_parent" android:layout_height="wrap_content" > <!-- Preview: layout=@layout/frag_code --> </fragment>