You need to add the support library com.android.support:support-v4
On Android Studio, go in the menu File > Project Structure (Ctrl + Alt + Shift + S)
Select app, tab Dependecies, and in the + and search for the Maven libraries that you will use. In your case, the com.android.support:support-v4