adb push 过去权限
时间: 2023-09-02 14:09:11 浏览: 132
在使用adb push命令将文件推送到设备时,需要确保设备已经具备写入目标位置的权限。具体的权限要求取决于目标位置的访问权限设置。如果目标位置是系统目录,例如/system/priv-app,通常需要root权限才能写入。因此,在推送文件之前,需要确保设备已经获取了root权限,并使用adb root命令以root权限运行adb。然后使用adb remount命令,将文件系统重新挂载为可读写模式。最后,使用adb push命令将文件推送到目标位置。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [ADB的push和pull示例](https://blog.csdn.net/thebreezefour/article/details/121081265)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [android adb shell 命令大全](https://download.csdn.net/download/ctgulvzhaole/6813353)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文