USE_CREDENTIALS not available in new Android M API
问题 While trying new permissions API, notably: ActivityCompat.checkSelfPermission ActivityCompat.shouldShowRequestPermissionRationale ActivityCompat.requestPermissions for permission: android.permission.USE_CREDENTIALS (whichn is not listed as "normal" permission) I've received an "unknown permissionn exception". Is it a bug? Or is USE_CREDENTIALS a normal permission after all? 回答1: Neither. USE_CREDENTIALS was removed from the Android SDK in Android 6.0. Not only will you not find it in Manifest