TeamAmaze / TeamAmaze/AmazeFileManager

Crash, on try to open a text file on SD-Card

Open
#1,367 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
Kotlin
Stars
6.4k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
1

Description

To reproduce:

  1. Write a Text-file on a SD card
  2. Open Amaze and navigate to the folder with the text file on the sd card ( /storage/1DF0-4711/Folder
  3. Click on the text file and choose: open with Amaze Text Editor
    -> Amaze crashes.

logcat says:
java.lang.SecurityException: External path: /storage/1DF0-4711/Folder/W.txt: Neither user 10165 nor current process has android.permission.WRITE_MEDIA_STORAGE.

AndroidRuntime: FATAL EXCEPTION: Thread-945
Process: com.amaze.filemanager, PID: 12698

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the crash by opening a text file on the SD card through the “open with Amaze Text Editor” entry point, then start with the reported logcat SecurityException and external path. Done means the same file can be opened from the SD card without Amaze crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.