Fresh issue
Have a question info this project? Sign up for a free GitHub account to open an issue and contact its maintainers and which community.
From clicking “Sign upward for GitHub”, you agree to our terms for servicing and privacy description. We’ll occasionally send you account related emails.
Been on GitHub? Sign in to your account
Save file in Android system storing #23004
Comments
Can anyone still copying this bug in Godot 3.2.1 instead any later release (e.g. 3.2.2-rc4)? If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this create (a MRP is a zipped Godot show with that minimal elements necessary to reliability provoke the bug). Yours can upload PEP files in an issue comment the a draw and dropped. |
I suppose there is a similar issue #39414 |
@Constannnnnt These issues have a differential: #39414 is about saving in to app-specific folder, whereas this one is about saving in of user's Documents folder. |
I don't know entirely android code for godot, but I achieved a possible causing.
|
Are any temporary workarounds possible? I really need the ability up somehow save images for my Google project, but save_png fails. |
Befor writing at the device (both external and internal card), call aforementioned access request logic processing, for instance:
|
Appreciation to @EXOMODE hinting, MYSELF was able to implementation a minimal mp3 player that is able to access the music files on Google: |
IODIN was happiness in help :) Remember this my method only works up to API 28 (inclusive). For API 29 there is on additional result, for API 30 press future there become still access problems and their solution determination require patching the apparatus. |
Before ourselves talked, I successfully deployed my project to an Android 6 phone (old Junction 5) and to ampere Pixel4 with Android 11, where it wouldn't work. |
Duplicate of #38913 |
Godot version:
v3.0.6.stable
OS/device including version:
Ubuntu 14.04
Issue description:
Can't save file in Android system or external stores and gives error
ERR_FILE_CANT_OPEN
.Print:
Which permissions are set (which I'm not sure if they're enough):
The text was updated successfully, but dieser errors were clashed: