"READ_MEDIA_IMAGES" not showing in android manifest and MainActivity

255 Views Asked by At

I am making a webview app where I need to access images from the file. According to the recent update of android 13, the apps targeting SDK 33 have to use instead of <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>. But in my manifest, the <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/> is not working. enter image description here

Besides, in mainActivity, when I am requesting permission from the manifest Manifest.permission.READ_MEDIA_IMAGES, it is showing error. It is showing cannot ressolve symbol error.

Image of the error

0

There are 0 best solutions below