Android studio can input tree
command in Terminal command line to view the directory structure of the current Android project, which is very convenient, but you need to install the tree command first.
Install tree command brew install tree
, the error is reported as follows:
Error: /usr/local/Cellar is not writable. You should change the
ownership and permissions of /usr/local/Cellar back to your
user account:
sudo chown -R $(whoami) /usr/local/Cellar
Error: Cannot write to /usr/local/Cellar
Follow the prompt sudo chow-r $(whoami) /usr/local/Cellar
:
sudo chown -R $zhangsan /usr/local/Cellar
//zhangsan is your name.
Then execute brew install tree
.
After the installation is complete, type tree-d
in the Terminal command line of as to print out all directory names. In addition tree -a
display directory and content.
Read More:
- Mac Pyaudio Installation fatal error: ‘portaudio.h‘ file not found
- [Solved] Mac M1 Brew install Error: Command failed with exit 128:git
- Mac error: SH: Vue cli service: command not found
- Mac Error: sh: vue-cli-service: command not found
- How to Solve Mac installation luajit error
- Mac Vscode C++ Customize Header File Error: linker command failed
- git error: The following untracked working tree files would be overwritten by checkout
- The tree component in easyUI does not display data or displays undefined solutions
- Initial installation of hive-2.1.0 startup error problem solution
- NPM Install Error: npm ERR! ERESOLVE unable to resolve dependency tree
- How to Solve J-link Error (Two Command Errors & Solution)
- [Solved] error: unpack failed: error Missing tree
- Git Pull Error:The following untracked working tree files would be overwritten by merge
- [Solved] Latex&VScode Error: I found no bibdata command//command//citation—while reading file*.aux
- [Solved] Error running XxlJobExecutorHiveApplication. Command line is too long. Shorten the command line via
- SpringBoot Error running ‘Application’: Command line is too long.Shorten command line for
- MAC: Brew upgrade Error [How to Fix]
- Error running ‘PigSellCabinetApplication’: Command line is too long. Shorten command line for PigSellCabinetApplication or also for Spring Boot default configuration
- [Solved] Error running ‘WebApplication‘: Command line is too long. Shorten command line for WebApplication or
- [Solved] Error running ‘LocalTest‘: Command line is too long. Shorten command line for LocalTest or also for…