Accessibility Service is turned off automatically on each Run since Android studio 3.5

匆匆过客 提交于 2019-12-23 15:29:36

问题


Since I update Android Studio to 3.5, when I launch a Run to build and deploy my app, my custom accessibility service is turn off automatically (not a crash, just turn off within the settings).

Can you help me please ?


回答1:


What's happening is that Studio force-stops the service before reinstalling the new version. I don't think it's possible to disable that unfortunately.

Command-line installation doesn't follow the same process, so it doesn't disable the service.



来源:https://stackoverflow.com/questions/57659951/accessibility-service-is-turned-off-automatically-on-each-run-since-android-stud

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!