android include tag – invalid layout reference

If anyone stumbles upon this thread looking for this error:

Caused by: android.view.InflateException: You must specifiy a layout in the include tag: <include layout="@layout/layoutID" />

Make sure you do:

<include layout="@layout/your_layout" />

and not:

<include android:layout="@layout/your_layout" />

layout should not have android: in front of it.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)