I had to reduce the SDK, otherwise, gradle was not importing support v4 originally, but later I figured it out (by replacing com.android.support:support-v4:14.0.0 with com.android.support:support-v4:+)