I\'m working on a simple app that browses through the user\'s contacts. Unfortunately I keep getting the following error:
java.lang.SecurityException: Permission
Try this in your on create method
ActivityCompat.requestPermissions(this,new String[]{Manifest.permission.READ_CONTACTS},1);