Important Linksactivity_main.xmlMainActivity.javaAndroidManifest.xml

Library on GitHub with dependency + instructions:

github.com/googlesamples/easypermissions