Manifest.permission.CAMERA 错误

use*_*689 3 java android-studio

我正在请求 android studio 中相机的权限,但它在 Manifest.permission.CAMERA 上引发了错误

ActivityCompat.requestPermissions(this,new String[]{Manifest.permission.CAMERA},REQUEST_CAMERA);
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

abh*_*and 12

使用android.Manifest.permission.CAMERA到位Manifest.permission.CAMERA

参考:Cannot find Symbol Manifest.permission.WRITE_EXTERNAL_STORAGE on v23