Can't find my package path in file explorer

别等时光非礼了梦想. 提交于 2019-11-28 14:37:25

This is due to the permissions, DDMS will only show the files and folders he has enough access to reach.

You can change these permissions using the tool Android Debug Bridge (ADB).

ADB is located in the folder platform-tools in your SDK directory. On Windows you can access shell by opening a command prompt, go to the SDB path and use the following command:

cd (...)\android-sdk\platform-tools
adb shell

Once the command shell is opened, you can enter the command su - root to get root access.

To change permissions on files and folders, you just need to use the command chmod.

EDIT: here is an example showing gow to change the right on a specific folder, and all its contents:

chmod -R [permissions] [dirname]

R means recursive, if you remove it, it will only change the permissions of the folder, not its contents. In [permissions], put the permissions desired, a full access is for example 777. In [dirname], just replace with your folder name.

Example:

chmod -R 777 new_folder

This command gives full access to the folder "new_folder" and its sub-folders.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!