diff --git a/modules/juce_core/native/juce_android_Files.cpp b/modules/juce_core/native/juce_android_Files.cpp index c000ab7176..115dba7d40 100644 --- a/modules/juce_core/native/juce_android_Files.cpp +++ b/modules/juce_core/native/juce_android_Files.cpp @@ -629,7 +629,7 @@ bool File::moveToTrash() const JUCE_API bool JUCE_CALLTYPE Process::openDocument (const String& fileName, const String&) { - URL targetURL (File::createFileWithoutCheckingPath (fileName)); + URL targetURL (fileName); auto* env = getEnv(); const LocalRef action (javaString ("android.intent.action.VIEW"));