I am implementing runtime permission request for
Marshmallow devices. I have set my build and compile
API 23. Still
Manifest.permission.READ_PHONE_STATE is not recognizable
I had imported wrong package, the right package is
As in 23 sdk you can not use dangerous permission directly from manifest you have do rum time programming for this else drop down your target sdk to 22.
List of dangerous permissions