【发布时间】:2018-02-28 22:17:10
【问题描述】:
我在与 android 模拟器交互时遇到了一些问题。我的目标是覆盖模拟设备上的主机文件,但我被卡住了。
我已经按照大多数地方的建议使用了adb 命令行工具。症状:
$ adb root
$ adb remount
> Not running as root. Try "adb root" first.
adb root命令没有输出,好像没有效果。
$ adb shell
emu$ su
emu> su: not found
我找不到将文件推送到设备的方法。在启动模拟器或重新启动 adbd 服务器时甚至不使用-writable-system...我也尝试运行此other so answer 中提到的脚本,但没有成功。
更多信息:
- 主机操作系统:Windows
- 模拟器上的 Android 版本:Android 8.0 和 7.1.1
- 模拟设备:Nexus 5
【问题讨论】:
标签: android android-emulator adb