Home > Tips and Tricks > Android

How to Fix termux-setup-storage on Android

In this guide, we will show you the steps to fix the termux-setup-storage on your Android device. When it comes to terminal emulator apps on Android devices, especially for running Linux and Bash commands, then there’s hardly an iota of a doubt that Termux is the best in this domain. However, as of late, it is giving a tough time to the end users, especially those who are on Android 13 or higher versions.

termux setup storage

Termux users who are trying to run the termux-setup-storage command on their Android devices are being greeted with the “inaccessible or not found” error message. One obvious reason why this might happen could be die to the app’s inability to get access to your device’s storage. However, even after giving it the said permission, the app is still throwing the same error time and time again. So how to rectify this problem? Let’s find out.

How to Fix termux-setup-storage on Android

YouTube video

  1. First off, head to Settings > Apps > App Management > Special App Access.
  2. Now select Termux from the list and enable the toggle next to All File Access.termux storage access
  3. After that, relaunch the Termux app and paste the below command into it:
    pkg install termux-am
  4. The required packages will now be downloaded and installed within minutes.termux storage access
  5. Once done, execute your desired command and you won’t get any errors now.

That’s it. These were the steps to fix the termux-setup-storage on your Android device. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution as soon as possible.


Share: