godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.11k stars 20.2k forks source link

Can't switch to SD card in file dialogs in the Android editor #64809

Open Sheepy3 opened 2 years ago

Sheepy3 commented 2 years ago

Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.


Godot version

3.5 Stable

System information

ChromeOS, Pentium 7505

Issue description

the file manager within Godot on android is unable to be switched to my SD card, despite giving android apps access to SD card files

Steps to reproduce

launch godot click new project Click browse on project path at the top, click the drive dropdown, and attempt to switch to SD_Card

Minimal reproduction project

No response

APTEM591 commented 1 year ago

Same in Godot 4.0.3

sammypanda commented 11 months ago

+1 Godot Editor 4 App (Godot v4.1.2.rc1.official)

via ChromeOS android container (the external storage device is visible but not selectable, no response when clicked, just ignored)

BalsamicVinegar1 commented 11 months ago

First time reporting anything bug-like so apologies if I am out of order or am talking stupid. (Don't hesitate to ask for additional resources/info)

Anywho, I believe I've found something that will drastically speed up finding the root of this issue. I try to use Godot and all of my software as a portable install between computers on a dual usb a and c flash drive on my keychain.

Of course I bumped into the issue above, so after being stumped for a few days, I tried using the unix file path system as I had read about in the docs. Considering the Godot editor is made with Godot, I thought it might work. And it did! but only on newly created projects in the internal shared storage which includes the sd card and onboard (at least from my understanding of android 11).

The point is the app definitely has the permissions, but something in the editor dialog is preventing us from switching straight to that device through ui.

if anyone wants screenshots or wants me to explain how I got stuff that wasn't in the internal shared storage to work (idk why but it's a bit different to get working) feel free to ask.

MADOK1 commented 8 months ago

+1 Same problem on Lenovo Lillipup Chromebook (v4.2.1.stable.official [b09f793f5])

ExoSuitOne commented 7 months ago

First time reporting anything bug-like so apologies if I am out of order or am talking stupid. (Don't hesitate to ask for additional resources/info)

Anywho, I believe I've found something that will drastically speed up finding the root of this issue. I try to use Godot and all of my software as a portable install between computers on a dual usb a and c flash drive on my keychain.

Of course I bumped into the issue above, so after being stumped for a few days, I tried using the unix file path system as I had read about in the docs. Considering the Godot editor is made with Godot, I thought it might work. And it did! but only on newly created projects in the internal shared storage which includes the sd card and onboard (at least from my understanding of android 11).

The point is the app definitely has the permissions, but something in the editor dialog is preventing us from switching straight to that device through ui.

if anyone wants screenshots or wants me to explain how I got stuff that wasn't in the internal shared storage to work (idk why but it's a bit different to get working) feel free to ask.

Could you please explain how you did it? I would love to know.

archived-f32554f commented 5 months ago

In my case, I was able to open the godot project on the USB drive on Android by following the steps below!

  1. install termux for Android(https://f-droid.org/ja/packages/com.termux/)
  2. exec termux
  3. $ termux-setup-storage
  4. $ pkg install mount-utils
  5. $ mount | grep /mnt/media_rw
  6. exec Godot android
  7. import project
  8. specify /mnt/media_rw/XXXX-XXXX for path
  9. select your project
tazdunord commented 3 months ago

Hello

I have the same problem on my Android Samsung S6 Lite with FileDialog I can see an external storage but i can't select it. I can't just see intern memory. (Godot 4.2.2)

Screenshot_20240612_191643_LamaPod

shahriarlabib000 commented 2 months ago

i cant even save the movie path to sdcard

https://github.com/godotengine/godot/assets/100587814/fb792e68-5d3e-46b8-bc2e-e48de4383146