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.
我正在 Android 中实现 updateService。它是具有系统权限的 Android 服务。它检查来自服务器的包更新,并执行更新。对于 /data/app 下的普通包,updateService 只需要调用 PackageInstaller 即可完成工作。但是 /system/app 下的系统包不能这样更新。我只想知道,updateService怎么更新系统包?特别是它本身是/system/app下的系统包,应该可以自行更新。
似乎您可以重新安装磁盘以实现所需的权限, 这里有一些信息。