4

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 ?

Hugo Mallet
  • 190
  • 7

1 Answers1

3

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.

Phil Weaver
  • 608
  • 3
  • 7
  • But that wasn't true for previous Android Studio versions. Maybe that's because of Instant Run/App Deploy changes in the latest release that broke something. – Bringoff Aug 27 '19 at 07:03
  • 1
    Yes I agree with you @Bringoff I open an issue at google if you want add a comment or just vote for this issue https://issuetracker.google.com/issues/140056246 – Hugo Mallet Aug 27 '19 at 08:40