Skip to content

On Android, When you want to open files in directories that Acode doesn't recognize using Acode, Acode freezes and crashes. #2047

@universish

Description

@universish

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Problem One: On Android, when I try to open a file using the "Open with" option and select Acode, Acode freezes and crashes. This issue occurs when you try to open files in directories other than those recognized by Acode. By "directories recognized by Acode," I mean the following: When Acode is open and you create a new file, it prompts you to select one of the directories you’ve previously saved to when you try to save the file. These are the directories recognized by Acode.

For example, the folder named "acode" in the root directory is a directory that Acode recognizes. The "Documents" directory, however, is a directory that Acode does not recognize. If you long-press an HTML file in the "Documents" directory, select the "Open with" option, and then choose Acode, the Acode app launches but freezes. It doesn’t respond. Then it crashes, and Android’s crash notification window opens—the crash notification window with "Wait" and "Close" options.

  1. Open the file manager.
  2. Open a folder that Acode doesn’t recognize.
  3. Long-press a file in that folder.
  4. Tap the "Open with" or "Open using" option.
  5. Tap Acode.
  6. It freezes and stops responding. It crashes.

This issue does not occur with files in folders that Acode recognizes.

( [Feature Request] Also, if you long-press a file and tap the "Share" option, the Acode app isn’t listed among the app options. That’s why we can’t open a file with Acode using the "Share" button. Please consider this a feature request—I’d like you to add the Acode app to the "Share" button options. Please add the option to share the file with Acode so it opens in the Acode app. )

Second issue:

  1. Launch the Acode app.
  2. Tap the three-dot icon (More Options button).
  3. Tap "Files."
  4. In the "File Browser" menu that opens, tap "Select documents."
  5. Select any file from any folder that Acode does not recognize.
  6. Acode freezes and stops responding.

This issue does not occur with files in folders that Acode recognizes.

Environment

Acode 1.11.8
Android 15 (sdk 35)
Android System Webview 146.0.7680.177 (768017703)
RMX3890 realme 12 lite aarch64 (armv8a)
ROM: RMX3890GDPR_15.C.49
kernel: 5.15.180-android13-8-g4c8343768aa6

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions