I have an Android app that communicates some information to a WPF app by creating a file in app-specific external storage dir https://developer.android.com/training/data-storage/app-specific#external. WPF app pulls this file over Adb and processes it.
This is working fine for most devices except for Samsung S21 (API Level 30), where I keep getting this error: Failed to pull '/storage/emulated/0/Android/data/...'. open failed: Permission denied
What is the reason for this behavior? and how can I access the said file on S21?
1.4m articles
1.4m replys
5 comments
57.0k users