How to remove an app with active device admin enabled on Android?
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.