I am executing a runtime permission request for Marshmallow devices. I installed the build and compiled sdk in API 23 . However, Manifest.permission.READ_PHONE_STATE not recognized
Marshmallow
sdk
API 23
Manifest.permission.READ_PHONE_STATE
I imported the wrong package, the right package
android.Manifest
check this
As in 23 sdk, you cannot use dangerous permissions directly from the manifest, you have programming time for rum, for this you drop out of your target sdk at 22. List of dangerous permissions