镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Error on readFile large file on android #1248

Open

Description

@ketan-pcs

const fileBuffer = await RNFS.readFile(res.path, 'base64');

Exception in native call java.lang.RuntimeException: Could not invoke RNFSManager.readFile

Activity

  1. owenadley commented on May 12, 2025

    @owenadley

    Getting the same issue.

  2. hayr-hotoca commented on Sep 15, 2025

    @hayr-hotoca

    You should use the RNFS.read method to read your large file in chunks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions