After migrating to Android Q I can no longer find a suitable way to gain write access to the documents folder (/storage/emulated/0/Documents
/storage/emulated/0/Documents
try to put this line in your manifest file for android Q: android:requestLegacyExternalStorage="true" in application tag.