简体   繁体   中英

Read_external_storage permission is not working even i have declared in manifest,not running in android studio

[I have declared permission of read external storage in manifest but it is not getting in java file as mentioned in the pic, it shows red colour READ_EXTERNAL_SOTRAGE...i don't know why it is showing red in color][1]

Write android.Manifest.permission.READ_EXTERNAL_STORAGE, it will work.

or instead import android.Manifest at the top.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM