How to remove an app with active device admin enabled on Android?

前端 未结 6 2235
天命终不由人
天命终不由人 2020-12-12 19:55

I wrote an app with device admin enabled (DevicePolicyManager) and installed. But when I want to uninstall it, it returns failed with this message

WAR

6条回答
  •  生来不讨喜
    2020-12-12 20:39

    Go to SETTINGS->Location and Security-> Device Administrator and deselect the admin which you want to uninstall.

    Now uninstall the application. If it still says you need to deactivate the application before uninstalling, you may need to Force Stop the application before uninstalling.

提交回复
热议问题