I have added this line in the AndroidManifest.xml:
How
I notice that this problem can occur if you are using an Android 6.0 emulator, Android added new permission model for (Marshmallow).
Trick: If you are targeting version 22 or below, your application will request all permissions at install time just as it would on any device running an OS below Marshmallow