How are you?
When working with a hidden folder on Flutter, the permission denied error is given. How can this be resolved? The following data is provided in the Androidmanifest.xml file, but the same permission is denied.

<uses-permission android:name=”android.permission.INTERNET” />

<uses-permission android:name=”android.permission.READ_EXTERNAL_STORAGE” />

<uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE” />

<uses-permission android:name=”android.permission.WRITE_INTERNAL_STORAGE” />

<uses-permission android:name=”android.permission.READ_INTERNAL_STORAGE” />

<uses-permission android:name=”android.permission.ACCESS_CACHE_FILESYSTEM” />

<uses-permission android:name=”android.permission.DELETE_CACHE_FILES” />

<uses-permission android:name=”android.permission.REBOOT” />

<uses-permission android:name=”android.permission.RECOVERY” />

<uses-permission android:name=”android.permission.WRITE_MEDIA_STORAGE” />

<uses-feature android:name=”android.hardware.usb.host” />

<uses-permission android:name=”android.permission.MANAGE_EXTERNAL_STORAGE” />

<uses-permission android:name=”android.permission.MEDIA_CONTENT_CONTROL”/>

<uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION” />

<uses-permission android:name=”android.permission.SYSTEM_ALERT_WINDOW”/>

<uses-permission android:name=”android.permission.ACCESS_WIFI_STATE” />

<uses-permission android:name=”android.permission.ACCESS_COARSE_LOCATION” />

user code;

io.Directory appDocDir1 = await getExternalStorageDirectory();

List<String> paths = appDocDir1.path.split(‘data’);

appDocPath = paths[0] + ‘data/org.xbmc.kodi/files/.kodi/’;

if (await io.Directory(appDocPath).exists())

give me permission denied

How to use it. Please help me?

--

--