alexa
Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry

Error when writing bitmap to directory even with directory access in android ?

Error when writing bitmap to directory even with directory access in android ?

You cannot use Environment.getExternalStorageDirectory() for target SDK 31. You should use scope storage. 

If you want to use the legacy way, you should have the target SDK 30 (max) and in case it is 30, then you should enable requestLegacyExternalStorage.


64 0
7

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online