I use the below in my code:
ContextCompat.checkSelfPermission(mContext, Manifest.permission.READ_PHONE_STATE)
In my gradle I have:
compile 'com.android.support:appcompat-v7:25.0.1'
Everything was working fine and the builds were triggering, however suddenly my builds are failing with the below error:
error: package android.support.v4.content does not exist
in the import statement :android.support.v4.content.ContextCompat
Can someone please help out. Since this is happening on a build machine I dont have android studio in it.