file.exists(path) doesn't work on android ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ZacB

I need to check if a resource exists by using File.new().file_exists(path)

When I debug my project on my computer, it works fine but when I debug on my android it always return FALSE…