Android Studio - Error inflating class EditText
问题 I have been trying to solve this problem for a full day now. I created a new project in Android Studio and chose the tab navigation activity. From there I added a simple EditText in the XML of fragment_main.xml and run it. It always gives me an EditText inflation error. This does not happen with any other element e.g. TextViews fragment_main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width=