Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一种方法来启动我从 adb 放入我的系统/应用程序的根设备上的 apk。(带壳或带壳都可以)
.apk 使用 adb 推送到设备上。
如果安装正常,我已经找到了执行此操作的方法,但这不是我需要的,因为出于许可原因,此应用程序需要位于系统/应用程序中。
有人可以帮助或指出正确的方向吗谢谢。
推送到系统后,请务必设置权限,然后重新启动设备并像任何其他应用程序一样从 adb 启动。
重新启动系统应用程序将被“安装”
使用以下命令:
adb remount adb push apkfilename /system/app adb reboot
这将使该 apk 文件成为系统应用程序。