AppCompat v7 Toolbar “Error inflating class <unknown>”
问题 I need to use new Toolbar feature introduced in AppCompat V7:21 after reading SO thread here and android blog post here. I exacctly copied Toolbar snippet from the blogpost to my layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <android.support.v7.widget.Toolbar <-