重要資訊:我們目前不接受新的 Play EMM API 註冊。
瞭解詳情。
刪除應用程式
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
手動刪除應用程式
除非裝置的 DPC 禁止應用程式執行這項限制,否則使用者可以手動從裝置中刪除應用程式。如果應用程式在 Google Play 管理版商店中仍提供應用程式,使用者可以重新安裝應用程式。
禁止使用者刪除應用程式
在 DPC 層級中,您可以防止使用者使用 DevicePolicyManager.setUninstallBlocked
刪除特定應用程式。
從管理版 Play 商店移除應用程式
從 Device
的 policy
移除應用程式後,就無法在該裝置上安裝及更新應用程式。不過,系統不會自動解除安裝應用程式。
刪除應用程式
如要從使用者的裝置刪除應用程式,請呼叫 Installs.delete
。
取回付費應用程式授權
解除安裝應用程式並不會刪除使用者的應用程式授權。呼叫 Entitlements.delete
可解除使用者授權關聯,並釋出使用者的應用程式授權。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eUsers can manually delete apps unless restricted by device policies, and can reinstall them if available in the managed Google Play store.\u003c/p\u003e\n"],["\u003cp\u003eDevice Policy Controllers (DPCs) can prevent users from deleting specific apps.\u003c/p\u003e\n"],["\u003cp\u003eRemoving an app from a device's policy in the managed Play Store prevents new installations and updates but doesn't automatically uninstall it.\u003c/p\u003e\n"],["\u003cp\u003eTo delete an app from a user's device, use the \u003ccode\u003eInstalls.delete\u003c/code\u003e API call.\u003c/p\u003e\n"],["\u003cp\u003eUninstalling an app doesn't remove the user's license; use the \u003ccode\u003eEntitlements.delete\u003c/code\u003e API call to reclaim paid app licenses.\u003c/p\u003e\n"]]],[],null,["# Delete apps\n\nManually delete apps\n--------------------\n\nUsers can delete apps manually from their device unless the device's DPC\nrestricts them from doing so. If the app is still available in the managed\nGoogle Play store, the user can re-install the app.\n\n### Prevent users from deleting apps\n\nAt the DPC-level, you can prevent users from deleting specific apps using\n[`DevicePolicyManager.setUninstallBlocked`](https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#setUninstallBlocked).\n\nRemove apps from the managed Play Store\n---------------------------------------\n\nRemoving an app from the [`Device`](/android/work/play/emm-api/v1/devices)'s\n`policy` prevents new installs and updates of the app on that device. However\nthe app is not uninstalled automatically.\n\n### Delete apps\n\nTo delete an app from a user's device, call\n[`Installs.delete`](/android/work/play/emm-api/v1/installs/delete).\n\n### Reclaim paid app licenses\n\nUninstalling an app doesn't delete a user's entitlement to the app. Call\n[`Entitlements.delete`](/android/work/play/emm-api/v1/entitlements/delete) to\ndissociate an entitlement from a user and release the user's license for the\napp."]]