requestPermissions(new String[]{Manifest.permission.CAMERA}, 1); 转载于:https://www.cnblogs.com/coderlc/p/11171279.html