Using library RunTimePermission, yet add the perission WRITE_EXTERNAL_STORAGE.
And I have added the code
AddManifestText(
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
)
to use this permission for Android 4 version, how described in your tutorial using GetSafeDirDefaultExternal.
But then, sending apk to Google, there is this error:
Duplicate declarations of permission android permission write_external_storage
It's necessary to comment the code in manifest?